Define data for the MODFLOW

# make sure you're in virtual environment by running ".\\.venv\Scripts\activate" in terminal
#-----------------------Importing Libraries-----------------------#
import os
import flopy
import pathlib
import matplotlib.pyplot as plt
import numpy as np
import geopandas as gpd
import pandas as pd
import rasterio
import pyproj
import shutil
import random
import pathlib as pl
from pathlib import Path
from rasterio.crs import CRS
from rasterio.plot import show
from rasterio.warp import calculate_default_transform, reproject, Resampling
from rasterio.transform import from_bounds
from rasterio.transform import rowcol
from rasterio.mask import mask
from shapely.geometry import box, Point, Polygon, LineString
from flopy.utils.binaryfile import HeadFile
from scipy.interpolate import griddata
from pprint import pformat
from flopy.plot.styles import styles
from matplotlib.lines import Line2D
from flopy.mf6 import MFSimulation
from matplotlib import cbook, cm
from matplotlib.colors import LightSource
from modflow_devtools.misc import get_env, timed
#----------------------Pre-Processing Steps ----------------------#
## Data Paths
water_surface_elevation_raster = r"C:\Users\u4eeevmq\Documents\Python\test_12_18_2024\CH00365\GMS\WSE (Max).USGS_1m_FebApril2018_DEM.U_USGS-3DEP_dtm_hyrdo_flattened_20240412.2041_1.tif"
terrain_elevation_raster = r"C:\Users\u4eeevmq\Documents\Python\test_12_18_2024\CH00365\GMS\BlendedTerrain.LoweredTerrain.tif"
ground_water_domain_shapefile = r"C:\Users\u4eeevmq\Documents\Python\test_12_18_2024\InputShapefiles\GWDomain.shp"
left_boundary_floodplain = r"C:\Users\u4eeevmq\Documents\Python\test_12_18_2024\InputShapefiles\L_FPL.shp"
right_boundary_floodplain = r"C:\Users\u4eeevmq\Documents\Python\test_12_18_2024\InputShapefiles\R_FPL.shp"

## Projection File Path
projection_file = r"C:\Users\u4eeevmq\Documents\Python\test_12_18_2024\CH00365\RAS\GIS_Data\102739_TX_central.prj"

## HEC-RAS CRS
hec_ras_crs = CRS.from_string(open(projection_file).read().strip())

# Load raster and shapefiles
#---------------------------------Terrain Elevation -----------------------------------------#
# Open the terrain raster
with rasterio.open(terrain_elevation_raster) as src:
    terrain_elevation = src.read(1)
    raster_transform = src.transform
    raster_crs = src.crs

    # Calculate the new transform and dimensions
    transform, width, height = calculate_default_transform(
        raster_crs, hec_ras_crs, src.width, src.height, *src.bounds
    )

    # Define metadata for the new raster
    new_meta = src.meta.copy()
    new_meta.update({
        "crs": hec_ras_crs,
        "transform": transform,
        "width": width,
        "height": height
    })

    # Define output file name
    output_raster = "reprojected_terrain_raster.tif"

    # Reproject and save
    with rasterio.open(output_raster, "w", **new_meta) as dst:
        reproject(
            source=rasterio.band(src, 1),
            destination=rasterio.band(dst, 1),
            src_transform=raster_transform,
            src_crs=raster_crs,
            dst_transform=transform,
            dst_crs=hec_ras_crs,
            resampling=Resampling.nearest
        )

print(f"Reprojected raster saved as {output_raster}")
#---------------------------------Water Surface Elevation -----------------------------------------#
# Open the input raster
with rasterio.open(water_surface_elevation_raster) as src:
    surface_elevation = src.read(1)
    raster_transform = src.transform
    raster_crs = src.crs

    # Calculate the new transform and dimensions
    transform, width, height = calculate_default_transform(
        raster_crs, hec_ras_crs, src.width, src.height, *src.bounds
    )
    
    # Define metadata for the new raster
    new_meta = src.meta.copy()
    new_meta.update({
        "crs": hec_ras_crs,
        "transform": transform,
        "width": width,
        "height": height
    })

    # Define output file name
    output_raster = "reprojected_water_surface_elevation_raster.tif"

    # Reproject and save
    with rasterio.open(output_raster, "w", **new_meta) as dst:
        reproject(
            source=rasterio.band(src, 1),
            destination=rasterio.band(dst, 1),
            src_transform=raster_transform,
            src_crs=raster_crs,
            dst_transform=transform,
            dst_crs=hec_ras_crs,
            resampling=Resampling.nearest
        )

print(f"Reprojected raster saved as {output_raster}")

# Crop the water surface elevation raster to the terrain extent
with rasterio.open(output_raster) as src:
    terrain_bounds = src.bounds
    terrain_geom = box(*terrain_bounds)

    with rasterio.open(water_surface_elevation_raster) as src:
        out_image, out_transform = mask(src, [terrain_geom], crop=True)
        out_meta = src.meta.copy()
        out_meta.update({
            "driver": "GTiff",
            "height": out_image.shape[1],
            "width": out_image.shape[2],
            "transform": out_transform
        })

        cropped_output_raster = "cropped_water_surface_elevation_raster.tif"
        with rasterio.open(cropped_output_raster, "w", **out_meta) as dst:
            dst.write(out_image)

print(f"Cropped water surface elevation raster saved as {cropped_output_raster}")
    
#---------------------------------Shapefiles -----------------------------------------#
# Load and reproject shapefiles to match the raster CRS
ground_water_domain = gpd.read_file(ground_water_domain_shapefile).to_crs(hec_ras_crs)
left_boundary = gpd.read_file(left_boundary_floodplain).to_crs(hec_ras_crs)
right_boundary = gpd.read_file(right_boundary_floodplain).to_crs(hec_ras_crs)
Reprojected raster saved as reprojected_terrain_raster.tif
Reprojected raster saved as reprojected_water_surface_elevation_raster.tif
Cropped water surface elevation raster saved as cropped_water_surface_elevation_raster.tif
#------------------------Set up Directories-----------------------#
# Project workspace
md6_exe_path = r"C:\Users\u4eeevmq\Documents\Python\Flo_Py\flopy\modflowExe\mf6.exe"  # Update to your MODFLOW-6 executable path
md7_exe_path = r"C:\Users\u4eeevmq\Documents\Python\Flo_Py\flopy\modflowExe\mp7.exe"  # Update to your MODPATH-7 executable path
sim_name = "Hyporheic_Project"
workspace = Path("./HP_workspace")  # Convert to Path object
figs_path = workspace / "figures"

# Clear the workspace directory if it exists
if os.path.exists(workspace):
    shutil.rmtree(workspace)   
os.makedirs(workspace)

# shorten model names so they fit in 16-char limit
gwf_name = "gwf_model"
prt_name = "prt_model"
mp7_name = "mp7_model"
gwf_ws = workspace / "gwf_workspace"
prt_ws = workspace / "prt_workspace"
mp7_ws = workspace / "mp7_workspace"

# Create directories
workspace.mkdir(exist_ok=True, parents=True)
figs_path.mkdir(exist_ok=True, parents=True)
gwf_ws.mkdir(exist_ok=True, parents=True)
prt_ws.mkdir(exist_ok=True, parents=True)
mp7_ws.mkdir(exist_ok=True, parents=True)

# Define output file names
# Head Files
headfile = "{}.hds".format(gwf_name)
head_filerecord = [headfile]
headfile_prt = "{}.hds".format(prt_name)

# Budget Files
budgetfile = "{}.cbb".format(gwf_name)
budget_filerecord = [budgetfile]
budgetfile_prt = "{}.cbb".format(prt_name)
budget_filerecord_prt = [budgetfile_prt]

# Particle Tracking Files
trackfile_prt = "{}.trk".format(prt_name)
trackhdrfile_prt = "{}.trk.hdr".format(prt_name)
trackcsvfile_prt = "{}.trk.csv".format(prt_name)

# Settings from environment variables
write = get_env("WRITE", True)
run = get_env("RUN", True)
plot = get_env("PLOT", True)
plot_show = get_env("PLOT_SHOW", True)
plot_save = get_env("PLOT_SAVE", True)
#--------------------------Model Parameters-------------------------#
# Model units
length_units = "feet"
time_units = "days"

# Model Settings
nper = 1  # Number of stress periods
cell_size_x = cell_size_y = 10.0  # Grid cell size (10x10 feet) calculated from raster resolution
gw_mod_depth = 20.0  # Depth of the model (20 feet below the bed surface)
z = 0.5  # model layer thickness 
kh = 10.0  # Horizontal hydraulic conductivity (ft/day)
kv = 1.0  # Vertical hydraulic conductivity (ft/day)
gw_offset = 0.5  # Offset value (ft) for groundwater elevation (used to set initial head from surface water elevation)

# Optional
porosity = 0.1 # Porosity
rch_iface = 6
rch_iflowface = -1
recharge_rate = 0.005  # Recharge rate ($ft/d$)

# Time discretization
nstp = 1
perlen = 1.0
tsmult = 1.0

Define data for the MODFLOW#

  • Model grid from terrain elevation input

  • Boundary conditions from left and right floodplain inputs

  • Create active cells using groundwater domain input

#------------------------------Model Grid--------------------------------#
## Plot Terrain Elevation
reprojected_terrain_elevation_raster = r"C:\Users\u4eeevmq\Documents\Python\test_12_18_2024\reprojected_terrain_raster.tif"

# Assuming `src.nodata` is the no-data value for the raster
terrain_elevation = np.ma.masked_equal(terrain_elevation, src.nodata)

# Find Bed Elevations
bed_elevation = np.min(terrain_elevation) # Bed elevation is the minimum value of the cropped surface elevation

# Calculate the extent of the raster
raster_width = src.width * transform[0]  # Width in feet
raster_height = src.height * abs(transform[4])  # Height in feet

# Determine the number of rows and columns based on the cell size
ncol = int(raster_width / cell_size_x)
nrow = int(raster_height / cell_size_y)

# Print the calculated grid dimensions
print(f'Number of columns: {ncol}')
print(f'Number of rows: {nrow}')

top = np.full((nrow, ncol), gw_mod_depth)  # feet below bed surface (depth of groundwater model)
nlay = int(top.max() / z)  # Number of groundwater layers based on default depth)

# Calculate grid cell centers
grid_x, grid_y = np.meshgrid(
    np.arange(0, ncol) * cell_size_x + (cell_size_x / 2),
    np.arange(0, nrow) * cell_size_y + (cell_size_y / 2),
)

# Convert cell centers to Points for intersection checks
grid_points = gpd.GeoDataFrame(
    {"geometry": [Point(x, y) for x, y in zip(grid_x.ravel(), grid_y.ravel())]},
    crs= hec_ras_crs,  # Replace with the actual CRS of your grid
)

# Read raster data and extract elevation values
with rasterio.open(reprojected_terrain_elevation_raster) as src:
    raster_array = src.read(1)  # Read the first band
    raster_transform = src.transform
    raster_crs = src.crs
    raster_bounds_box = box(*src.bounds)  # Create a shapely box for raster bounds
    terrain_elevation = np.ma.masked_equal(raster_array, src.nodata)  # Mask no-data values

# Create a GeoDataFrame for raster bounds
raster_bounds_gdf = gpd.GeoDataFrame(
    {"geometry": [raster_bounds_box]}, crs=hec_ras_crs
)

# Reproject grid points to match raster CRS
# Use the raster bounds to define the grid extent
minx, miny, maxx, maxy = raster_bounds_box.bounds
grid_x, grid_y = np.meshgrid(
    np.linspace(minx, maxx, ncol),
    np.linspace(miny, maxy, nrow),
)

# Recreate the grid points
grid_points = gpd.GeoDataFrame(
    {"geometry": [Point(x, y) for x, y in zip(grid_x.ravel(), grid_y.ravel())]},
    crs=raster_crs,
)

# Check intersection between grid points and raster bounds
intersecting_points = grid_points[grid_points.geometry.intersects(raster_bounds_box)]

# Debugging: Print details about the GeoDataFrames
print(f"Raster CRS: {raster_bounds_gdf.crs}")
print(f"Grid CRS: {grid_points.crs}")
print(f"Number of grid points: {len(grid_points)}")
print(f"Number of intersecting points: {len(intersecting_points)}")

# Set x and y origin
xmin, ymin, xmax, ymax = raster_bounds_box.bounds  # Extract bounding box extent
xorigin = xmin  # Set xorigin to the left-most boundary
yorigin = ymin  # Set yorigin to the bottom-most boundary

# Extract raster extent before looping
transform = raster_transform
xmin = transform.c
ymax = transform.f
xmax = xmin + (terrain_elevation.shape[1] * transform.a)
ymin = ymax + (terrain_elevation.shape[0] * transform.e)

print(f"✅ Raster Extent: X = ({xmin}, {xmax}), Y = ({ymin}, {ymax})")

# Function to interpolate NA values
def interpolate_na(terrain):
    # Get the coordinates of the non-masked values
    valid_mask = ~terrain.mask
    valid_coords = np.array(np.nonzero(valid_mask)).T
    valid_values = terrain[valid_mask]

    # Get the coordinates of the masked values
    invalid_mask = terrain.mask
    invalid_coords = np.array(np.nonzero(invalid_mask)).T

    # Interpolate the values at the masked coordinates
    interpolated_values = griddata(valid_coords, valid_values, invalid_coords, method='nearest')

    # Fill the masked values with the interpolated values
    terrain[invalid_mask] = interpolated_values

    return terrain

# Initialize the top array
top = np.full((nrow, ncol), np.nan)

# Update "top" values for each cell in the first layer based on surface elevation
for i in range(nrow):
    for grid_col in range(ncol):
        # Calculate the x, y coordinates of the cell center
        point_x = grid_x[i, grid_col]
        point_y = grid_y[i, grid_col]

        # Convert the grid cell center coordinates to raster indices
        col, row = ~raster_transform * (point_x, point_y)
        col, row = int(col), int(row)

        # Check if the indices are within raster bounds
        if 0 <= row < terrain_elevation.shape[0] and 0 <= col < terrain_elevation.shape[1]:
            elevation_value = terrain_elevation[row, col]

            # Update "top" based on the raster value
            top[i, grid_col] = elevation_value

# Interpolate any remaining NA values in the top array
top = interpolate_na(np.ma.masked_invalid(top))

## Initialize `tops` and `botm` lists
tops = [top]  # Add the top layer (surface elevation or default)
botm = []

# First layer bottom is calculated from the updated "top" values
first_layer_botm = np.full_like(top, bed_elevation)  # Subtract 0.5 ft for the first layer
botm.append(first_layer_botm)

# Create remaining layers with a constant thickness of 0.5 ft
for layer in range(1, 40):  # Layers 2 to 40
    next_layer_top = botm[-1]  # The top of the current layer is the bottom of the previous layer
    next_layer_botm = next_layer_top - z  # Subtract thickness from the top
    tops.append(next_layer_top)  # Add the top of the current layer
    botm.append(next_layer_botm)  # Add the bottom of the current layer

# Debugging: Check the top and bottom elevations for all layers
print("Top layer elevation (max, min):", tops[0].max(), botm[0].min())
for layer_idx in range(len(tops)):
    print(f"Layer {layer_idx + 1} top (max, min):", tops[layer_idx].max(), tops[layer_idx].min())
    print(f"Layer {layer_idx + 1} botm (max, min):", botm[layer_idx].max(), botm[layer_idx].min())
    
## Visualization: Plot the top and last bottom layers
fig, axs = plt.subplots(1, 2, figsize=(15, 8))

# Plot the top layer elevation
im1 = axs[0].imshow(top, cmap="terrain", interpolation="nearest", origin="lower")  # 🔹 Ensures (0,0) is bottom-left
axs[0].set_title("Top Layer Elevation")
axs[0].set_xlabel("Column")
axs[0].set_ylabel("Row")
fig.colorbar(im1, ax=axs[0], label="Elevation (ft)")

# Plot the bottom layer elevation (Layer 40)
im2 = axs[1].imshow(botm[-1], cmap="terrain", interpolation="nearest", origin="lower")  # 🔹 Ensures bottom-left
axs[1].set_title("Bottom Layer Elevation (Layer 40)")
axs[1].set_xlabel("Column")
axs[1].set_ylabel("Row")
fig.colorbar(im2, ax=axs[1], label="Elevation (ft)")

plt.tight_layout()
plt.show()
Number of columns: 168
Number of rows: 192
Raster CRS: PROJCS["NAD83 / Texas Central (ftUS)",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["latitude_of_origin",29.6666666666667],PARAMETER["central_meridian",-100.333333333333],PARAMETER["standard_parallel_1",30.1166666666667],PARAMETER["standard_parallel_2",31.8833333333333],PARAMETER["false_easting",2296583.33333333],PARAMETER["false_northing",9842500],UNIT["US survey foot",0.304800609601219],AXIS["Easting",EAST],AXIS["Northing",NORTH]]
Grid CRS: PROJCS["NAD83 / Texas Central (ftUS)",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101004,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4269"]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["latitude_of_origin",29.6666666666667],PARAMETER["central_meridian",-100.333333333333],PARAMETER["standard_parallel_1",30.1166666666667],PARAMETER["standard_parallel_2",31.8833333333333],PARAMETER["false_easting",2296583.33333333],PARAMETER["false_northing",9842500],UNIT["US survey foot",0.304800609601219,AUTHORITY["EPSG","9003"]],AXIS["Easting",EAST],AXIS["Northing",NORTH]]
Number of grid points: 32256
Number of intersecting points: 32256
✅ Raster Extent: X = (2406093.5149272773, 2408251.1279889615), Y = (10514475.360625861, 10516401.62506268)
Top layer elevation (max, min): 1642.84375 1599.8125
Layer 1 top (max, min): 1642.84375 1599.875
Layer 1 botm (max, min): 1599.8125 1599.8125
Layer 2 top (max, min): 1599.8125 1599.8125
Layer 2 botm (max, min): 1599.3125 1599.3125
Layer 3 top (max, min): 1599.3125 1599.3125
Layer 3 botm (max, min): 1598.8125 1598.8125
Layer 4 top (max, min): 1598.8125 1598.8125
Layer 4 botm (max, min): 1598.3125 1598.3125
Layer 5 top (max, min): 1598.3125 1598.3125
Layer 5 botm (max, min): 1597.8125 1597.8125
Layer 6 top (max, min): 1597.8125 1597.8125
Layer 6 botm (max, min): 1597.3125 1597.3125
Layer 7 top (max, min): 1597.3125 1597.3125
Layer 7 botm (max, min): 1596.8125 1596.8125
Layer 8 top (max, min): 1596.8125 1596.8125
Layer 8 botm (max, min): 1596.3125 1596.3125
Layer 9 top (max, min): 1596.3125 1596.3125
Layer 9 botm (max, min): 1595.8125 1595.8125
Layer 10 top (max, min): 1595.8125 1595.8125
Layer 10 botm (max, min): 1595.3125 1595.3125
Layer 11 top (max, min): 1595.3125 1595.3125
Layer 11 botm (max, min): 1594.8125 1594.8125
Layer 12 top (max, min): 1594.8125 1594.8125
Layer 12 botm (max, min): 1594.3125 1594.3125
Layer 13 top (max, min): 1594.3125 1594.3125
Layer 13 botm (max, min): 1593.8125 1593.8125
Layer 14 top (max, min): 1593.8125 1593.8125
Layer 14 botm (max, min): 1593.3125 1593.3125
Layer 15 top (max, min): 1593.3125 1593.3125
Layer 15 botm (max, min): 1592.8125 1592.8125
Layer 16 top (max, min): 1592.8125 1592.8125
Layer 16 botm (max, min): 1592.3125 1592.3125
Layer 17 top (max, min): 1592.3125 1592.3125
Layer 17 botm (max, min): 1591.8125 1591.8125
Layer 18 top (max, min): 1591.8125 1591.8125
Layer 18 botm (max, min): 1591.3125 1591.3125
Layer 19 top (max, min): 1591.3125 1591.3125
Layer 19 botm (max, min): 1590.8125 1590.8125
Layer 20 top (max, min): 1590.8125 1590.8125
Layer 20 botm (max, min): 1590.3125 1590.3125
Layer 21 top (max, min): 1590.3125 1590.3125
Layer 21 botm (max, min): 1589.8125 1589.8125
Layer 22 top (max, min): 1589.8125 1589.8125
Layer 22 botm (max, min): 1589.3125 1589.3125
Layer 23 top (max, min): 1589.3125 1589.3125
Layer 23 botm (max, min): 1588.8125 1588.8125
Layer 24 top (max, min): 1588.8125 1588.8125
Layer 24 botm (max, min): 1588.3125 1588.3125
Layer 25 top (max, min): 1588.3125 1588.3125
Layer 25 botm (max, min): 1587.8125 1587.8125
Layer 26 top (max, min): 1587.8125 1587.8125
Layer 26 botm (max, min): 1587.3125 1587.3125
Layer 27 top (max, min): 1587.3125 1587.3125
Layer 27 botm (max, min): 1586.8125 1586.8125
Layer 28 top (max, min): 1586.8125 1586.8125
Layer 28 botm (max, min): 1586.3125 1586.3125
Layer 29 top (max, min): 1586.3125 1586.3125
Layer 29 botm (max, min): 1585.8125 1585.8125
Layer 30 top (max, min): 1585.8125 1585.8125
Layer 30 botm (max, min): 1585.3125 1585.3125
Layer 31 top (max, min): 1585.3125 1585.3125
Layer 31 botm (max, min): 1584.8125 1584.8125
Layer 32 top (max, min): 1584.8125 1584.8125
Layer 32 botm (max, min): 1584.3125 1584.3125
Layer 33 top (max, min): 1584.3125 1584.3125
Layer 33 botm (max, min): 1583.8125 1583.8125
Layer 34 top (max, min): 1583.8125 1583.8125
Layer 34 botm (max, min): 1583.3125 1583.3125
Layer 35 top (max, min): 1583.3125 1583.3125
Layer 35 botm (max, min): 1582.8125 1582.8125
Layer 36 top (max, min): 1582.8125 1582.8125
Layer 36 botm (max, min): 1582.3125 1582.3125
Layer 37 top (max, min): 1582.3125 1582.3125
Layer 37 botm (max, min): 1581.8125 1581.8125
Layer 38 top (max, min): 1581.8125 1581.8125
Layer 38 botm (max, min): 1581.3125 1581.3125
Layer 39 top (max, min): 1581.3125 1581.3125
Layer 39 botm (max, min): 1580.8125 1580.8125
Layer 40 top (max, min): 1580.8125 1580.8125
Layer 40 botm (max, min): 1580.3125 1580.3125
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\1671912471.py:126: UserWarning: Warning: converting a masked element to nan.
  top[i, grid_col] = elevation_value
_images/44af26941647531f4465392702661a7d0040ed0e87fdc4c725624c23171ec44c.png
#---------------------------Create Boundary Conditions-----------------------------#
# Extract the first (start) and last (end) coordinates from each boundary geometry
left_start = left_boundary.geometry.iloc[0].coords[0]  # First point
left_end = left_boundary.geometry.iloc[-1].coords[-1]  # Last point

right_start = right_boundary.geometry.iloc[0].coords[0]  # First point
right_end = right_boundary.geometry.iloc[-1].coords[-1]  # Last point

# Print start and end coordinates
print(f"Left Boundary Start: {left_start}, Left Boundary End: {left_end}")
print(f"Right Boundary Start: {right_start}, Right Boundary End: {right_end}")

# Upstream boundary coordinates (use left and right start points)
upstream_start_x, upstream_start_y = left_start  # Start of upstream from left boundary
upstream_end_x, upstream_end_y = right_start  # End of upstream from right boundary

# Downstream boundary coordinates (use left and right end points)
downstream_start_x, downstream_start_y = left_end  # Start of downstream from left boundary
downstream_end_x, downstream_end_y = right_end  # End of downstream from right boundary

# Print extracted coordinates
print(f"Upstream Start: ({upstream_start_x}, {upstream_start_y}), Upstream End: ({upstream_end_x}, {upstream_end_y})")
print(f"Downstream Start: ({downstream_start_x}, {downstream_start_y}), Downstream End: ({downstream_end_x}, {downstream_end_y})")

# Use the extracted start and end points
upstream_line = LineString([(upstream_start_x, upstream_start_y), (upstream_end_x, upstream_end_y)])
downstream_line = LineString([(downstream_start_x, downstream_start_y), (downstream_end_x, downstream_end_y)])

# Convert to GeoDataFrame
upstream_boundary = gpd.GeoDataFrame(geometry=[upstream_line], crs=left_boundary.crs)
downstream_boundary = gpd.GeoDataFrame(geometry=[downstream_line], crs=left_boundary.crs)

# Print boundary lines
print(f"Upstream Line: {upstream_line}")
print(f"Downstream Line: {downstream_line}")

# Check if boundaries were created successfully
if not upstream_boundary.empty and not downstream_boundary.empty:
    print("✅ Upstream and Downstream boundaries created successfully!")
else:
    print("❌ Error: One or both boundaries are empty. Check input data.")
Left Boundary Start: (2407358.236295765, 10515701.162934666), Left Boundary End: (2407570.6507961783, 10515177.034472264)
Right Boundary Start: (2407065.5187525107, 10515580.276633618), Right Boundary End: (2407188.132000717, 10515108.82005953)
Upstream Start: (2407358.236295765, 10515701.162934666), Upstream End: (2407065.5187525107, 10515580.276633618)
Downstream Start: (2407570.6507961783, 10515177.034472264), Downstream End: (2407188.132000717, 10515108.82005953)
Upstream Line: LINESTRING (2407358.236295765 10515701.162934666, 2407065.5187525107 10515580.276633618)
Downstream Line: LINESTRING (2407570.6507961783 10515177.034472264, 2407188.132000717 10515108.82005953)
✅ Upstream and Downstream boundaries created successfully!
#---------------------------Define Active Cells-----------------------------#
# Define grid cell polygons based on grid resolution
grid_cells = []
for row in range(nrow):
    for col in range(ncol):
        x_min = grid_x[row, col] - (cell_size_x / 2)
        x_max = grid_x[row, col] + (cell_size_x / 2)
        y_min = grid_y[row, col] - (cell_size_y / 2)
        y_max = grid_y[row, col] + (cell_size_y / 2)
        grid_cells.append(Polygon([(x_min, y_min), (x_min, y_max), (x_max, y_max), (x_max, y_min)]))

# Convert to GeoDataFrame
grid_gdf = gpd.GeoDataFrame(geometry=grid_cells, crs=ground_water_domain.crs)

# -------------------- Step 3: Perform Spatial Join -------------------- #
grid_gdf["inside_domain"] = grid_gdf.geometry.intersects(ground_water_domain.unary_union)

# -------------------- Step 4: Initialize IDOMAIN -------------------- #
idomain = np.zeros((nlay, nrow, ncol), dtype=int)

# Assign active cells where grid intersects groundwater domain
for idx, inside in enumerate(grid_gdf["inside_domain"]):
    row, col = divmod(idx, ncol)  # Convert flat index to row, col
    if inside:
        idomain[:, row, col] = 1  # Mark as active

# Debugging: Print active/inactive cell count
print(f"✅ Total Active Cells: {np.sum(idomain == 1)}")
print(f"✅ Total Inactive Cells: {np.sum(idomain == 0)}")
✅ Total Active Cells: 63040
✅ Total Inactive Cells: 1227200
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\2184572774.py:16: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  grid_gdf["inside_domain"] = grid_gdf.geometry.intersects(ground_water_domain.unary_union)
#---------------------------Identify Boundary Cells-----------------------------#
grid_gdf["intersect_left_boundary"] = grid_gdf.geometry.intersects(left_boundary.unary_union)
grid_gdf["intersect_right_boundary"] = grid_gdf.geometry.intersects(right_boundary.unary_union)
grid_gdf["intersect_upstream_boundary"] = grid_gdf.geometry.intersects(upstream_boundary.unary_union)
grid_gdf["intersect_downstream_boundary"] = grid_gdf.geometry.intersects(downstream_boundary.unary_union)

# Function to locate boundary cells
def identify_boundary_cells(idomain):
    boundary_cells = set()
    nlay, nrow, ncol = idomain.shape

    for row in range(nrow):
        for col in range(ncol):
            if idomain[0, row, col] == 1:
                if (
                    row > 0 and idomain[0, row - 1, col] == 0 or
                    row < nrow - 1 and idomain[0, row + 1, col] == 0 or
                    col > 0 and idomain[0, row, col - 1] == 0 or
                    col < ncol - 1 and idomain[0, row, col + 1] == 0
                ):
                    for layer in range(nlay):
                        boundary_cells.add((layer, row, col))

    print(f"✅ Identified {len(boundary_cells)} model boundary cells.")
    return list(boundary_cells)

boundary_cells = identify_boundary_cells(idomain)

# Classify boundary cells based on proximity to boundary lines
def classify_boundary_cells(boundary_cells, grid_gdf, left_boundary, right_boundary, upstream_boundary, downstream_boundary):
    classified_cells = set()
    left_boundary_cells = []
    right_boundary_cells = []
    upstream_boundary_cells = []
    downstream_boundary_cells = []

    for layer, row, col in boundary_cells:
        if (layer, row, col) in classified_cells:
            continue  # Skip already classified cells

        cell = grid_gdf.iloc[row * ncol + col]
        distances = {
            "left": cell.geometry.distance(left_boundary.unary_union),
            "right": cell.geometry.distance(right_boundary.unary_union),
            "upstream": cell.geometry.distance(upstream_boundary.unary_union),
            "downstream": cell.geometry.distance(downstream_boundary.unary_union)
        }
        closest_boundary = min(distances, key=distances.get)
        if closest_boundary == "left":
            left_boundary_cells.append((layer, row, col))
        elif closest_boundary == "right":
            right_boundary_cells.append((layer, row, col))
        elif closest_boundary == "upstream":
            upstream_boundary_cells.append((layer, row, col))
        elif closest_boundary == "downstream":
            downstream_boundary_cells.append((layer, row, col))

        classified_cells.add((layer, row, col))  # Mark cell as classified

    return left_boundary_cells, right_boundary_cells, upstream_boundary_cells, downstream_boundary_cells

left_boundary_cells, right_boundary_cells, upstream_boundary_cells, downstream_boundary_cells = classify_boundary_cells(
    boundary_cells, grid_gdf, left_boundary, right_boundary, upstream_boundary, downstream_boundary
)

# Combine all boundary cells into a single list
all_boundary_cells = left_boundary_cells + right_boundary_cells + upstream_boundary_cells + downstream_boundary_cells

# Print the number of boundary cells identified for each boundary type
print(f"✅ Left Boundary Cells: {len(left_boundary_cells)}")
print(f"✅ Right Boundary Cells: {len(right_boundary_cells)}")
print(f"✅ Upstream Boundary Cells: {len(upstream_boundary_cells)}")
print(f"✅ Downstream Boundary Cells: {len(downstream_boundary_cells)}")

# Check for duplicates in the combined boundary cells
unique_boundary_cells = set(all_boundary_cells)
if len(unique_boundary_cells) != len(all_boundary_cells):
    print(f"❌ Found {len(all_boundary_cells) - len(unique_boundary_cells)} duplicate entries in combined boundary cells.")
else:
    print("✅ No duplicate entries found in combined boundary cells.")

# Print the total number of unique boundary cells
print(f"✅ Total Unique Boundary Cells: {len(unique_boundary_cells)}")

# Print the number of cells for each boundary type in the first layer
left_boundary_cells_first_layer = [cell for cell in left_boundary_cells if cell[0] == 0]
right_boundary_cells_first_layer = [cell for cell in right_boundary_cells if cell[0] == 0]
upstream_boundary_cells_first_layer = [cell for cell in upstream_boundary_cells if cell[0] == 0]
downstream_boundary_cells_first_layer = [cell for cell in downstream_boundary_cells if cell[0] == 0]

# Should match the amount of boundary cells identified in the first layer
print(f"✅ Left Boundary Cells (First Layer): {len(left_boundary_cells_first_layer)}")
print(f"✅ Right Boundary Cells (First Layer): {len(right_boundary_cells_first_layer)}")
print(f"✅ Upstream Boundary Cells (First Layer): {len(upstream_boundary_cells_first_layer)}")
print(f"✅ Downstream Boundary Cells (First Layer): {len(downstream_boundary_cells_first_layer)}")
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:2: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  grid_gdf["intersect_left_boundary"] = grid_gdf.geometry.intersects(left_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:3: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  grid_gdf["intersect_right_boundary"] = grid_gdf.geometry.intersects(right_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:4: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  grid_gdf["intersect_upstream_boundary"] = grid_gdf.geometry.intersects(upstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:5: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  grid_gdf["intersect_downstream_boundary"] = grid_gdf.geometry.intersects(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
✅ Identified 6000 model boundary cells.
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
✅ Left Boundary Cells: 2000
✅ Right Boundary Cells: 1840
✅ Upstream Boundary Cells: 960
✅ Downstream Boundary Cells: 1200
✅ No duplicate entries found in combined boundary cells.
✅ Total Unique Boundary Cells: 6000
✅ Left Boundary Cells (First Layer): 50
✅ Right Boundary Cells (First Layer): 46
✅ Upstream Boundary Cells (First Layer): 24
✅ Downstream Boundary Cells (First Layer): 30
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:43: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\834206046.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
#----------------------Calculate Ground Water Elevation------------------------#
# Define the grid points (assuming grid_points is a GeoDataFrame with 'geometry' column)
grid_points_coords = [(point.x, point.y) for point in grid_points.geometry]

# Extract elevation values at grid points
elevation_values = []
with rasterio.open(cropped_output_raster) as src:
    for x, y in grid_points_coords:
        row, col = rowcol(src.transform, x, y)
        if 0 <= row < src.height and 0 <= col < src.width:
            elevation = src.read(1)[row, col]
            elevation_values.append(elevation)
        else:
            elevation_values.append(None)  # Append None if the point is out of bounds

# Create a DataFrame with the grid points and their corresponding elevation values
grid_points_df = pd.DataFrame({
    'x': [coord[0] for coord in grid_points_coords],
    'y': [coord[1] for coord in grid_points_coords],
    'elevation': elevation_values
})

# Save the DataFrame to a CSV file
output_csv = "grid_points_elevation.csv"
grid_points_df.to_csv(output_csv, index=False)

print(f"Grid points elevation values saved as {output_csv}")

# Read the CSV file
grid_points_df = pd.read_csv(output_csv)

# Function to get max elevation for boundary cells
def get_max_elevation(boundary_cells_coords, grid_points_df):
    elevations = []
    for x, y in boundary_cells_coords:
        elevation = grid_points_df.loc[(grid_points_df['x'] == x) & (grid_points_df['y'] == y), 'elevation'].values
        if elevation.size > 0:
            elevations.append(elevation[0])
    return max(elevations) if elevations else None

# Find matching coordinates for boundary cells
upstream_boundary_cells_coords = [(grid_x[row, col], grid_y[row, col]) for _, row, col in upstream_boundary_cells_first_layer]
downstream_boundary_cells_coords = [(grid_x[row, col], grid_y[row, col]) for _, row, col in downstream_boundary_cells_first_layer]

# Calculate max surface water elevation for upstream and downstream boundary cells
max_elevation_upstream = get_max_elevation(upstream_boundary_cells_coords, grid_points_df)
max_elevation_downstream = get_max_elevation(downstream_boundary_cells_coords, grid_points_df)

# Print max elevations
print("Max Elevation Upstream Boundary:", max_elevation_upstream)
print("Max Elevation Downstream Boundary:", max_elevation_downstream)
Grid points elevation values saved as grid_points_elevation.csv
Max Elevation Upstream Boundary: 1604.76611328125
Max Elevation Downstream Boundary: 1600.780029296875
#----------------------Assign Ground Water Elevation to Boundary Conditions------------------------#
# Assign Ground Water Elevation to Boundary Cells
def calculate_gw_elevation(boundary_cells, top_elevation, offset):
    gw_elevation_min = []
    for cell in boundary_cells:
        layer, row, col = cell
        gw_elevation = top_elevation + offset  # Simply add the offset to the scalar top_elevation
        gw_elevation_min.append(gw_elevation)
    return gw_elevation_min

# Identify first and last cell for each boundary
def get_boundary_first_last(boundary_cells):
    if not boundary_cells:
        return None, None
    return boundary_cells[0], boundary_cells[-1]

left_boundary_first, left_boundary_last = get_boundary_first_last(left_boundary_cells_first_layer)
right_boundary_first, right_boundary_last = get_boundary_first_last(right_boundary_cells_first_layer)
upstream_boundary_first, upstream_boundary_last = get_boundary_first_last(upstream_boundary_cells_first_layer)
downstream_boundary_first, downstream_boundary_last = get_boundary_first_last(downstream_boundary_cells_first_layer)

# Calculate groundwater elevations for each boundary
gw_elevation_left_first = calculate_gw_elevation([left_boundary_first], max_elevation_upstream, gw_offset)[0]
gw_elevation_left_last = calculate_gw_elevation([left_boundary_last], max_elevation_downstream, gw_offset)[0]

gw_elevation_right_first = calculate_gw_elevation([right_boundary_first], max_elevation_upstream, gw_offset)[0]
gw_elevation_right_last = calculate_gw_elevation([right_boundary_last], max_elevation_downstream, gw_offset)[0]

gw_elevation_upstream_first = calculate_gw_elevation([upstream_boundary_first], max_elevation_upstream, gw_offset)[0]
gw_elevation_upstream_last = calculate_gw_elevation([upstream_boundary_last], max_elevation_upstream, gw_offset)[0]

gw_elevation_downstream_first = calculate_gw_elevation([downstream_boundary_first], max_elevation_downstream, gw_offset)[0]
gw_elevation_downstream_last = calculate_gw_elevation([downstream_boundary_last], max_elevation_downstream, gw_offset)[0]

# Debugging: Print the calculated groundwater elevations
print("Left Boundary Groundwater Elevation First:", gw_elevation_left_first)
print("Left Boundary Groundwater Elevation Last:", gw_elevation_left_last)
print("Right Boundary Groundwater Elevation First:", gw_elevation_right_first)
print("Right Boundary Groundwater Elevation Last:", gw_elevation_right_last)
print("Upstream Boundary Groundwater Elevation First:", gw_elevation_upstream_first)
print("Upstream Boundary Groundwater Elevation Last:", gw_elevation_upstream_last)
print("Downstream Boundary Groundwater Elevation First:", gw_elevation_downstream_first)
print("Downstream Boundary Groundwater Elevation Last:", gw_elevation_downstream_last)

# Interpolate Groundwater Elevation Across Boundary Cells
def interpolate_gw_elevation(boundary_cells, gw_elevation_first, gw_elevation_last):
    n = len(boundary_cells)
    if n <= 1:
        return [gw_elevation_first] * n
    interpolated_gw_elevations = []
    for i in range(n):
        interpolated_value = gw_elevation_first + (gw_elevation_last - gw_elevation_first) * i / (n - 1)
        interpolated_gw_elevations.append(interpolated_value)
    return interpolated_gw_elevations

# Interpolate groundwater elevations for each boundary
gw_elevation_left = interpolate_gw_elevation(left_boundary_cells, gw_elevation_left_first, gw_elevation_left_last)
gw_elevation_right = interpolate_gw_elevation(right_boundary_cells, gw_elevation_right_first, gw_elevation_right_last)
gw_elevation_upstream = interpolate_gw_elevation(upstream_boundary_cells, gw_elevation_upstream_first, gw_elevation_upstream_last)
gw_elevation_downstream = interpolate_gw_elevation(downstream_boundary_cells, gw_elevation_downstream_first, gw_elevation_downstream_last)

# Debugging: Print the interpolated groundwater elevations
print("Left Boundary Groundwater Elevations:", gw_elevation_left)
print("Right Boundary Groundwater Elevations:", gw_elevation_right)
print("Upstream Boundary Groundwater Elevations:", gw_elevation_upstream)
print("Downstream Boundary Groundwater Elevations:", gw_elevation_downstream)
Left Boundary Groundwater Elevation First: 1605.26611328125
Left Boundary Groundwater Elevation Last: 1601.280029296875
Right Boundary Groundwater Elevation First: 1605.26611328125
Right Boundary Groundwater Elevation Last: 1601.280029296875
Upstream Boundary Groundwater Elevation First: 1605.26611328125
Upstream Boundary Groundwater Elevation Last: 1605.26611328125
Downstream Boundary Groundwater Elevation First: 1601.280029296875
Downstream Boundary Groundwater Elevation Last: 1601.280029296875
Left Boundary Groundwater Elevations: [np.float64(1605.26611328125), np.float64(1605.2641192422384), np.float64(1605.2621252032266), np.float64(1605.260131164215), np.float64(1605.2581371252031), np.float64(1605.2561430861915), np.float64(1605.25414904718), np.float64(1605.252155008168), np.float64(1605.2501609691565), np.float64(1605.2481669301449), np.float64(1605.246172891133), np.float64(1605.2441788521214), np.float64(1605.2421848131096), np.float64(1605.240190774098), np.float64(1605.2381967350864), np.float64(1605.2362026960745), np.float64(1605.234208657063), np.float64(1605.232214618051), np.float64(1605.2302205790395), np.float64(1605.228226540028), np.float64(1605.226232501016), np.float64(1605.2242384620045), np.float64(1605.2222444229928), np.float64(1605.220250383981), np.float64(1605.2182563449694), np.float64(1605.2162623059576), np.float64(1605.214268266946), np.float64(1605.2122742279344), np.float64(1605.2102801889225), np.float64(1605.208286149911), np.float64(1605.2062921108993), np.float64(1605.2042980718875), np.float64(1605.2023040328759), np.float64(1605.200309993864), np.float64(1605.1983159548524), np.float64(1605.1963219158408), np.float64(1605.194327876829), np.float64(1605.1923338378174), np.float64(1605.1903397988056), np.float64(1605.188345759794), np.float64(1605.1863517207823), np.float64(1605.1843576817705), np.float64(1605.182363642759), np.float64(1605.1803696037473), np.float64(1605.1783755647355), np.float64(1605.1763815257239), np.float64(1605.174387486712), np.float64(1605.1723934477004), np.float64(1605.1703994086888), np.float64(1605.168405369677), np.float64(1605.1664113306654), np.float64(1605.1644172916535), np.float64(1605.162423252642), np.float64(1605.1604292136303), np.float64(1605.1584351746185), np.float64(1605.1564411356069), np.float64(1605.1544470965953), np.float64(1605.1524530575834), np.float64(1605.1504590185718), np.float64(1605.14846497956), np.float64(1605.1464709405484), np.float64(1605.1444769015368), np.float64(1605.142482862525), np.float64(1605.1404888235134), np.float64(1605.1384947845015), np.float64(1605.13650074549), np.float64(1605.1345067064783), np.float64(1605.1325126674665), np.float64(1605.1305186284549), np.float64(1605.1285245894433), np.float64(1605.1265305504314), np.float64(1605.1245365114198), np.float64(1605.122542472408), np.float64(1605.1205484333964), np.float64(1605.1185543943848), np.float64(1605.116560355373), np.float64(1605.1145663163613), np.float64(1605.1125722773495), np.float64(1605.110578238338), np.float64(1605.1085841993263), np.float64(1605.1065901603145), np.float64(1605.1045961213028), np.float64(1605.1026020822912), np.float64(1605.1006080432794), np.float64(1605.0986140042678), np.float64(1605.096619965256), np.float64(1605.0946259262444), np.float64(1605.0926318872328), np.float64(1605.090637848221), np.float64(1605.0886438092093), np.float64(1605.0866497701977), np.float64(1605.0846557311859), np.float64(1605.0826616921743), np.float64(1605.0806676531624), np.float64(1605.0786736141508), np.float64(1605.0766795751392), np.float64(1605.0746855361274), np.float64(1605.0726914971158), np.float64(1605.070697458104), np.float64(1605.0687034190923), np.float64(1605.0667093800807), np.float64(1605.064715341069), np.float64(1605.0627213020573), np.float64(1605.0607272630457), np.float64(1605.0587332240339), np.float64(1605.0567391850223), np.float64(1605.0547451460104), np.float64(1605.0527511069988), np.float64(1605.0507570679872), np.float64(1605.0487630289754), np.float64(1605.0467689899638), np.float64(1605.044774950952), np.float64(1605.0427809119403), np.float64(1605.0407868729287), np.float64(1605.038792833917), np.float64(1605.0367987949053), np.float64(1605.0348047558937), np.float64(1605.0328107168818), np.float64(1605.0308166778702), np.float64(1605.0288226388584), np.float64(1605.0268285998468), np.float64(1605.0248345608352), np.float64(1605.0228405218234), np.float64(1605.0208464828117), np.float64(1605.0188524438), np.float64(1605.0168584047883), np.float64(1605.0148643657767), np.float64(1605.0128703267649), np.float64(1605.0108762877533), np.float64(1605.0088822487417), np.float64(1605.0068882097298), np.float64(1605.0048941707182), np.float64(1605.0029001317064), np.float64(1605.0009060926948), np.float64(1604.9989120536832), np.float64(1604.9969180146713), np.float64(1604.9949239756597), np.float64(1604.9929299366481), np.float64(1604.9909358976363), np.float64(1604.9889418586247), np.float64(1604.9869478196129), np.float64(1604.9849537806012), np.float64(1604.9829597415896), np.float64(1604.9809657025778), np.float64(1604.9789716635662), np.float64(1604.9769776245544), np.float64(1604.9749835855428), np.float64(1604.9729895465312), np.float64(1604.9709955075193), np.float64(1604.9690014685077), np.float64(1604.967007429496), np.float64(1604.9650133904843), np.float64(1604.9630193514727), np.float64(1604.9610253124608), np.float64(1604.9590312734492), np.float64(1604.9570372344376), np.float64(1604.9550431954258), np.float64(1604.9530491564142), np.float64(1604.9510551174023), np.float64(1604.9490610783907), np.float64(1604.9470670393791), np.float64(1604.9450730003673), np.float64(1604.9430789613557), np.float64(1604.941084922344), np.float64(1604.9390908833323), np.float64(1604.9370968443206), np.float64(1604.9351028053088), np.float64(1604.9331087662972), np.float64(1604.9311147272856), np.float64(1604.9291206882738), np.float64(1604.9271266492622), np.float64(1604.9251326102503), np.float64(1604.9231385712387), np.float64(1604.9211445322271), np.float64(1604.9191504932153), np.float64(1604.9171564542037), np.float64(1604.915162415192), np.float64(1604.9131683761802), np.float64(1604.9111743371686), np.float64(1604.9091802981568), np.float64(1604.9071862591452), np.float64(1604.9051922201336), np.float64(1604.9031981811218), np.float64(1604.9012041421101), np.float64(1604.8992101030983), np.float64(1604.8972160640867), np.float64(1604.895222025075), np.float64(1604.8932279860633), np.float64(1604.8912339470517), np.float64(1604.88923990804), np.float64(1604.8872458690282), np.float64(1604.8852518300166), np.float64(1604.8832577910048), np.float64(1604.8812637519932), np.float64(1604.8792697129816), np.float64(1604.8772756739697), np.float64(1604.8752816349581), np.float64(1604.8732875959465), np.float64(1604.8712935569347), np.float64(1604.869299517923), np.float64(1604.8673054789112), np.float64(1604.8653114398996), np.float64(1604.863317400888), np.float64(1604.8613233618762), np.float64(1604.8593293228646), np.float64(1604.8573352838528), np.float64(1604.8553412448412), np.float64(1604.8533472058296), np.float64(1604.8513531668177), np.float64(1604.849359127806), np.float64(1604.8473650887945), np.float64(1604.8453710497827), np.float64(1604.843377010771), np.float64(1604.8413829717592), np.float64(1604.8393889327476), np.float64(1604.837394893736), np.float64(1604.8354008547242), np.float64(1604.8334068157126), np.float64(1604.8314127767007), np.float64(1604.8294187376891), np.float64(1604.8274246986775), np.float64(1604.8254306596657), np.float64(1604.823436620654), np.float64(1604.8214425816425), np.float64(1604.8194485426307), np.float64(1604.817454503619), np.float64(1604.8154604646072), np.float64(1604.8134664255956), np.float64(1604.811472386584), np.float64(1604.8094783475722), np.float64(1604.8074843085606), np.float64(1604.8054902695487), np.float64(1604.8034962305371), np.float64(1604.8015021915255), np.float64(1604.7995081525137), np.float64(1604.797514113502), np.float64(1604.7955200744905), np.float64(1604.7935260354786), np.float64(1604.791531996467), np.float64(1604.7895379574552), np.float64(1604.7875439184436), np.float64(1604.785549879432), np.float64(1604.7835558404201), np.float64(1604.7815618014085), np.float64(1604.779567762397), np.float64(1604.777573723385), np.float64(1604.7755796843735), np.float64(1604.7735856453617), np.float64(1604.77159160635), np.float64(1604.7695975673385), np.float64(1604.7676035283266), np.float64(1604.765609489315), np.float64(1604.7636154503032), np.float64(1604.7616214112916), np.float64(1604.75962737228), np.float64(1604.7576333332681), np.float64(1604.7556392942565), np.float64(1604.753645255245), np.float64(1604.751651216233), np.float64(1604.7496571772215), np.float64(1604.7476631382096), np.float64(1604.745669099198), np.float64(1604.7436750601864), np.float64(1604.7416810211746), np.float64(1604.739686982163), np.float64(1604.7376929431512), np.float64(1604.7356989041396), np.float64(1604.733704865128), np.float64(1604.7317108261161), np.float64(1604.7297167871045), np.float64(1604.727722748093), np.float64(1604.725728709081), np.float64(1604.7237346700695), np.float64(1604.7217406310576), np.float64(1604.719746592046), np.float64(1604.7177525530344), np.float64(1604.7157585140226), np.float64(1604.713764475011), np.float64(1604.7117704359991), np.float64(1604.7097763969875), np.float64(1604.707782357976), np.float64(1604.705788318964), np.float64(1604.7037942799525), np.float64(1604.7018002409409), np.float64(1604.699806201929), np.float64(1604.6978121629174), np.float64(1604.6958181239056), np.float64(1604.693824084894), np.float64(1604.6918300458824), np.float64(1604.6898360068706), np.float64(1604.687841967859), np.float64(1604.6858479288471), np.float64(1604.6838538898355), np.float64(1604.681859850824), np.float64(1604.679865811812), np.float64(1604.6778717728005), np.float64(1604.6758777337889), np.float64(1604.673883694777), np.float64(1604.6718896557654), np.float64(1604.6698956167536), np.float64(1604.667901577742), np.float64(1604.6659075387304), np.float64(1604.6639134997185), np.float64(1604.661919460707), np.float64(1604.6599254216953), np.float64(1604.6579313826835), np.float64(1604.655937343672), np.float64(1604.65394330466), np.float64(1604.6519492656485), np.float64(1604.6499552266368), np.float64(1604.647961187625), np.float64(1604.6459671486134), np.float64(1604.6439731096016), np.float64(1604.64197907059), np.float64(1604.6399850315784), np.float64(1604.6379909925665), np.float64(1604.635996953555), np.float64(1604.6340029145433), np.float64(1604.6320088755315), np.float64(1604.6300148365199), np.float64(1604.628020797508), np.float64(1604.6260267584964), np.float64(1604.6240327194848), np.float64(1604.622038680473), np.float64(1604.6200446414614), np.float64(1604.6180506024496), np.float64(1604.616056563438), np.float64(1604.6140625244263), np.float64(1604.6120684854145), np.float64(1604.610074446403), np.float64(1604.6080804073913), np.float64(1604.6060863683795), np.float64(1604.6040923293679), np.float64(1604.602098290356), np.float64(1604.6001042513444), np.float64(1604.5981102123328), np.float64(1604.596116173321), np.float64(1604.5941221343094), np.float64(1604.5921280952975), np.float64(1604.590134056286), np.float64(1604.5881400172743), np.float64(1604.5861459782625), np.float64(1604.584151939251), np.float64(1604.5821579002393), np.float64(1604.5801638612274), np.float64(1604.5781698222158), np.float64(1604.576175783204), np.float64(1604.5741817441924), np.float64(1604.5721877051808), np.float64(1604.570193666169), np.float64(1604.5681996271574), np.float64(1604.5662055881455), np.float64(1604.564211549134), np.float64(1604.5622175101223), np.float64(1604.5602234711105), np.float64(1604.5582294320989), np.float64(1604.5562353930873), np.float64(1604.5542413540754), np.float64(1604.5522473150638), np.float64(1604.550253276052), np.float64(1604.5482592370404), np.float64(1604.5462651980288), np.float64(1604.544271159017), np.float64(1604.5422771200053), np.float64(1604.5402830809937), np.float64(1604.538289041982), np.float64(1604.5362950029703), np.float64(1604.5343009639585), np.float64(1604.5323069249469), np.float64(1604.5303128859352), np.float64(1604.5283188469234), np.float64(1604.5263248079118), np.float64(1604.5243307689), np.float64(1604.5223367298884), np.float64(1604.5203426908768), np.float64(1604.518348651865), np.float64(1604.5163546128533), np.float64(1604.5143605738417), np.float64(1604.5123665348299), np.float64(1604.5103724958183), np.float64(1604.5083784568064), np.float64(1604.5063844177948), np.float64(1604.5043903787832), np.float64(1604.5023963397714), np.float64(1604.5004023007598), np.float64(1604.498408261748), np.float64(1604.4964142227363), np.float64(1604.4944201837247), np.float64(1604.492426144713), np.float64(1604.4904321057013), np.float64(1604.4884380666897), np.float64(1604.4864440276779), np.float64(1604.4844499886663), np.float64(1604.4824559496544), np.float64(1604.4804619106428), np.float64(1604.4784678716312), np.float64(1604.4764738326194), np.float64(1604.4744797936078), np.float64(1604.472485754596), np.float64(1604.4704917155843), np.float64(1604.4684976765727), np.float64(1604.466503637561), np.float64(1604.4645095985493), np.float64(1604.4625155595377), np.float64(1604.4605215205258), np.float64(1604.4585274815142), np.float64(1604.4565334425024), np.float64(1604.4545394034908), np.float64(1604.4525453644792), np.float64(1604.4505513254674), np.float64(1604.4485572864558), np.float64(1604.4465632474441), np.float64(1604.4445692084323), np.float64(1604.4425751694207), np.float64(1604.4405811304089), np.float64(1604.4385870913973), np.float64(1604.4365930523857), np.float64(1604.4345990133738), np.float64(1604.4326049743622), np.float64(1604.4306109353504), np.float64(1604.4286168963388), np.float64(1604.4266228573272), np.float64(1604.4246288183153), np.float64(1604.4226347793037), np.float64(1604.4206407402921), np.float64(1604.4186467012803), np.float64(1604.4166526622687), np.float64(1604.4146586232569), np.float64(1604.4126645842452), np.float64(1604.4106705452336), np.float64(1604.4086765062218), np.float64(1604.4066824672102), np.float64(1604.4046884281984), np.float64(1604.4026943891868), np.float64(1604.4007003501752), np.float64(1604.3987063111633), np.float64(1604.3967122721517), np.float64(1604.39471823314), np.float64(1604.3927241941283), np.float64(1604.3907301551167), np.float64(1604.3887361161048), np.float64(1604.3867420770932), np.float64(1604.3847480380816), np.float64(1604.3827539990698), np.float64(1604.3807599600582), np.float64(1604.3787659210464), np.float64(1604.3767718820347), np.float64(1604.3747778430231), np.float64(1604.3727838040113), np.float64(1604.3707897649997), np.float64(1604.368795725988), np.float64(1604.3668016869763), np.float64(1604.3648076479647), np.float64(1604.3628136089528), np.float64(1604.3608195699412), np.float64(1604.3588255309296), np.float64(1604.3568314919178), np.float64(1604.3548374529062), np.float64(1604.3528434138943), np.float64(1604.3508493748827), np.float64(1604.3488553358711), np.float64(1604.3468612968593), np.float64(1604.3448672578477), np.float64(1604.342873218836), np.float64(1604.3408791798242), np.float64(1604.3388851408126), np.float64(1604.3368911018008), np.float64(1604.3348970627892), np.float64(1604.3329030237776), np.float64(1604.3309089847658), np.float64(1604.3289149457541), np.float64(1604.3269209067425), np.float64(1604.3249268677307), np.float64(1604.322932828719), np.float64(1604.3209387897073), np.float64(1604.3189447506957), np.float64(1604.316950711684), np.float64(1604.3149566726722), np.float64(1604.3129626336606), np.float64(1604.3109685946488), np.float64(1604.3089745556372), np.float64(1604.3069805166256), np.float64(1604.3049864776137), np.float64(1604.3029924386021), np.float64(1604.3009983995905), np.float64(1604.2990043605787), np.float64(1604.297010321567), np.float64(1604.2950162825553), np.float64(1604.2930222435436), np.float64(1604.291028204532), np.float64(1604.2890341655202), np.float64(1604.2870401265086), np.float64(1604.2850460874968), np.float64(1604.2830520484852), np.float64(1604.2810580094736), np.float64(1604.2790639704617), np.float64(1604.2770699314501), np.float64(1604.2750758924385), np.float64(1604.2730818534267), np.float64(1604.271087814415), np.float64(1604.2690937754032), np.float64(1604.2670997363916), np.float64(1604.26510569738), np.float64(1604.2631116583682), np.float64(1604.2611176193566), np.float64(1604.2591235803447), np.float64(1604.2571295413331), np.float64(1604.2551355023215), np.float64(1604.2531414633097), np.float64(1604.251147424298), np.float64(1604.2491533852865), np.float64(1604.2471593462747), np.float64(1604.245165307263), np.float64(1604.2431712682512), np.float64(1604.2411772292396), np.float64(1604.239183190228), np.float64(1604.2371891512162), np.float64(1604.2351951122046), np.float64(1604.233201073193), np.float64(1604.2312070341811), np.float64(1604.2292129951695), np.float64(1604.2272189561577), np.float64(1604.225224917146), np.float64(1604.2232308781345), np.float64(1604.2212368391226), np.float64(1604.219242800111), np.float64(1604.2172487610992), np.float64(1604.2152547220876), np.float64(1604.213260683076), np.float64(1604.2112666440642), np.float64(1604.2092726050525), np.float64(1604.207278566041), np.float64(1604.205284527029), np.float64(1604.2032904880175), np.float64(1604.2012964490057), np.float64(1604.199302409994), np.float64(1604.1973083709825), np.float64(1604.1953143319706), np.float64(1604.193320292959), np.float64(1604.1913262539472), np.float64(1604.1893322149356), np.float64(1604.187338175924), np.float64(1604.1853441369121), np.float64(1604.1833500979005), np.float64(1604.181356058889), np.float64(1604.179362019877), np.float64(1604.1773679808655), np.float64(1604.1753739418536), np.float64(1604.173379902842), np.float64(1604.1713858638304), np.float64(1604.1693918248186), np.float64(1604.167397785807), np.float64(1604.1654037467952), np.float64(1604.1634097077836), np.float64(1604.161415668772), np.float64(1604.1594216297601), np.float64(1604.1574275907485), np.float64(1604.155433551737), np.float64(1604.153439512725), np.float64(1604.1514454737135), np.float64(1604.1494514347016), np.float64(1604.14745739569), np.float64(1604.1454633566784), np.float64(1604.1434693176666), np.float64(1604.141475278655), np.float64(1604.1394812396431), np.float64(1604.1374872006315), np.float64(1604.13549316162), np.float64(1604.133499122608), np.float64(1604.1315050835965), np.float64(1604.129511044585), np.float64(1604.127517005573), np.float64(1604.1255229665614), np.float64(1604.1235289275496), np.float64(1604.121534888538), np.float64(1604.1195408495264), np.float64(1604.1175468105146), np.float64(1604.115552771503), np.float64(1604.1135587324914), np.float64(1604.1115646934795), np.float64(1604.109570654468), np.float64(1604.107576615456), np.float64(1604.1055825764445), np.float64(1604.1035885374329), np.float64(1604.101594498421), np.float64(1604.0996004594094), np.float64(1604.0976064203976), np.float64(1604.095612381386), np.float64(1604.0936183423744), np.float64(1604.0916243033626), np.float64(1604.089630264351), np.float64(1604.0876362253393), np.float64(1604.0856421863275), np.float64(1604.083648147316), np.float64(1604.081654108304), np.float64(1604.0796600692925), np.float64(1604.0776660302809), np.float64(1604.075671991269), np.float64(1604.0736779522574), np.float64(1604.0716839132456), np.float64(1604.069689874234), np.float64(1604.0676958352224), np.float64(1604.0657017962105), np.float64(1604.063707757199), np.float64(1604.0617137181873), np.float64(1604.0597196791755), np.float64(1604.0577256401639), np.float64(1604.055731601152), np.float64(1604.0537375621404), np.float64(1604.0517435231288), np.float64(1604.049749484117), np.float64(1604.0477554451054), np.float64(1604.0457614060936), np.float64(1604.043767367082), np.float64(1604.0417733280703), np.float64(1604.0397792890585), np.float64(1604.037785250047), np.float64(1604.0357912110353), np.float64(1604.0337971720235), np.float64(1604.0318031330119), np.float64(1604.029809094), np.float64(1604.0278150549884), np.float64(1604.0258210159768), np.float64(1604.023826976965), np.float64(1604.0218329379534), np.float64(1604.0198388989418), np.float64(1604.01784485993), np.float64(1604.0158508209183), np.float64(1604.0138567819065), np.float64(1604.011862742895), np.float64(1604.0098687038833), np.float64(1604.0078746648715), np.float64(1604.0058806258598), np.float64(1604.003886586848), np.float64(1604.0018925478364), np.float64(1603.9998985088248), np.float64(1603.997904469813), np.float64(1603.9959104308014), np.float64(1603.9939163917898), np.float64(1603.991922352778), np.float64(1603.9899283137663), np.float64(1603.9879342747545), np.float64(1603.9859402357429), np.float64(1603.9839461967313), np.float64(1603.9819521577194), np.float64(1603.9799581187078), np.float64(1603.977964079696), np.float64(1603.9759700406844), np.float64(1603.9739760016728), np.float64(1603.971981962661), np.float64(1603.9699879236493), np.float64(1603.9679938846377), np.float64(1603.965999845626), np.float64(1603.9640058066143), np.float64(1603.9620117676025), np.float64(1603.9600177285909), np.float64(1603.9580236895792), np.float64(1603.9560296505674), np.float64(1603.9540356115558), np.float64(1603.952041572544), np.float64(1603.9500475335324), np.float64(1603.9480534945208), np.float64(1603.946059455509), np.float64(1603.9440654164973), np.float64(1603.9420713774857), np.float64(1603.9400773384739), np.float64(1603.9380832994623), np.float64(1603.9360892604504), np.float64(1603.9340952214388), np.float64(1603.9321011824272), np.float64(1603.9301071434154), np.float64(1603.9281131044038), np.float64(1603.926119065392), np.float64(1603.9241250263804), np.float64(1603.9221309873687), np.float64(1603.920136948357), np.float64(1603.9181429093453), np.float64(1603.9161488703337), np.float64(1603.9141548313219), np.float64(1603.9121607923103), np.float64(1603.9101667532984), np.float64(1603.9081727142868), np.float64(1603.9061786752752), np.float64(1603.9041846362634), np.float64(1603.9021905972518), np.float64(1603.9001965582402), np.float64(1603.8982025192283), np.float64(1603.8962084802167), np.float64(1603.894214441205), np.float64(1603.8922204021933), np.float64(1603.8902263631817), np.float64(1603.8882323241698), np.float64(1603.8862382851582), np.float64(1603.8842442461464), np.float64(1603.8822502071348), np.float64(1603.8802561681232), np.float64(1603.8782621291114), np.float64(1603.8762680900998), np.float64(1603.8742740510882), np.float64(1603.8722800120763), np.float64(1603.8702859730647), np.float64(1603.8682919340529), np.float64(1603.8662978950413), np.float64(1603.8643038560297), np.float64(1603.8623098170178), np.float64(1603.8603157780062), np.float64(1603.8583217389944), np.float64(1603.8563276999828), np.float64(1603.8543336609712), np.float64(1603.8523396219593), np.float64(1603.8503455829477), np.float64(1603.8483515439361), np.float64(1603.8463575049243), np.float64(1603.8443634659127), np.float64(1603.8423694269009), np.float64(1603.8403753878893), np.float64(1603.8383813488776), np.float64(1603.8363873098658), np.float64(1603.8343932708542), np.float64(1603.8323992318424), np.float64(1603.8304051928308), np.float64(1603.8284111538192), np.float64(1603.8264171148073), np.float64(1603.8244230757957), np.float64(1603.8224290367841), np.float64(1603.8204349977723), np.float64(1603.8184409587607), np.float64(1603.8164469197488), np.float64(1603.8144528807372), np.float64(1603.8124588417256), np.float64(1603.8104648027138), np.float64(1603.8084707637022), np.float64(1603.8064767246906), np.float64(1603.8044826856787), np.float64(1603.8024886466671), np.float64(1603.8004946076553), np.float64(1603.7985005686437), np.float64(1603.796506529632), np.float64(1603.7945124906203), np.float64(1603.7925184516087), np.float64(1603.7905244125968), np.float64(1603.7885303735852), np.float64(1603.7865363345736), np.float64(1603.7845422955618), np.float64(1603.7825482565502), np.float64(1603.7805542175386), np.float64(1603.7785601785267), np.float64(1603.7765661395151), np.float64(1603.7745721005033), np.float64(1603.7725780614917), np.float64(1603.77058402248), np.float64(1603.7685899834682), np.float64(1603.7665959444566), np.float64(1603.7646019054448), np.float64(1603.7626078664332), np.float64(1603.7606138274216), np.float64(1603.7586197884098), np.float64(1603.7566257493982), np.float64(1603.7546317103865), np.float64(1603.7526376713747), np.float64(1603.750643632363), np.float64(1603.7486495933513), np.float64(1603.7466555543397), np.float64(1603.744661515328), np.float64(1603.7426674763162), np.float64(1603.7406734373046), np.float64(1603.7386793982928), np.float64(1603.7366853592812), np.float64(1603.7346913202696), np.float64(1603.7326972812577), np.float64(1603.7307032422461), np.float64(1603.7287092032345), np.float64(1603.7267151642227), np.float64(1603.724721125211), np.float64(1603.7227270861993), np.float64(1603.7207330471877), np.float64(1603.718739008176), np.float64(1603.7167449691642), np.float64(1603.7147509301526), np.float64(1603.7127568911408), np.float64(1603.7107628521292), np.float64(1603.7087688131176), np.float64(1603.7067747741057), np.float64(1603.7047807350941), np.float64(1603.7027866960825), np.float64(1603.7007926570707), np.float64(1603.698798618059), np.float64(1603.6968045790472), np.float64(1603.6948105400356), np.float64(1603.692816501024), np.float64(1603.6908224620122), np.float64(1603.6888284230006), np.float64(1603.686834383989), np.float64(1603.6848403449771), np.float64(1603.6828463059655), np.float64(1603.6808522669537), np.float64(1603.678858227942), np.float64(1603.6768641889305), np.float64(1603.6748701499187), np.float64(1603.672876110907), np.float64(1603.6708820718952), np.float64(1603.6688880328836), np.float64(1603.666893993872), np.float64(1603.6648999548602), np.float64(1603.6629059158486), np.float64(1603.660911876837), np.float64(1603.6589178378251), np.float64(1603.6569237988135), np.float64(1603.6549297598017), np.float64(1603.65293572079), np.float64(1603.6509416817785), np.float64(1603.6489476427666), np.float64(1603.646953603755), np.float64(1603.6449595647432), np.float64(1603.6429655257316), np.float64(1603.64097148672), np.float64(1603.6389774477082), np.float64(1603.6369834086966), np.float64(1603.634989369685), np.float64(1603.632995330673), np.float64(1603.6310012916615), np.float64(1603.6290072526497), np.float64(1603.627013213638), np.float64(1603.6250191746265), np.float64(1603.6230251356146), np.float64(1603.621031096603), np.float64(1603.6190370575912), np.float64(1603.6170430185796), np.float64(1603.615048979568), np.float64(1603.6130549405561), np.float64(1603.6110609015445), np.float64(1603.609066862533), np.float64(1603.607072823521), np.float64(1603.6050787845095), np.float64(1603.6030847454977), np.float64(1603.601090706486), np.float64(1603.5990966674744), np.float64(1603.5971026284626), np.float64(1603.595108589451), np.float64(1603.5931145504394), np.float64(1603.5911205114276), np.float64(1603.589126472416), np.float64(1603.5871324334041), np.float64(1603.5851383943925), np.float64(1603.583144355381), np.float64(1603.581150316369), np.float64(1603.5791562773575), np.float64(1603.5771622383456), np.float64(1603.575168199334), np.float64(1603.5731741603224), np.float64(1603.5711801213106), np.float64(1603.569186082299), np.float64(1603.5671920432874), np.float64(1603.5651980042755), np.float64(1603.563203965264), np.float64(1603.561209926252), np.float64(1603.5592158872405), np.float64(1603.557221848229), np.float64(1603.555227809217), np.float64(1603.5532337702055), np.float64(1603.5512397311936), np.float64(1603.549245692182), np.float64(1603.5472516531704), np.float64(1603.5452576141586), np.float64(1603.543263575147), np.float64(1603.5412695361354), np.float64(1603.5392754971235), np.float64(1603.537281458112), np.float64(1603.5352874191), np.float64(1603.5332933800885), np.float64(1603.5312993410769), np.float64(1603.529305302065), np.float64(1603.5273112630534), np.float64(1603.5253172240416), np.float64(1603.52332318503), np.float64(1603.5213291460184), np.float64(1603.5193351070066), np.float64(1603.517341067995), np.float64(1603.5153470289833), np.float64(1603.5133529899715), np.float64(1603.51135895096), np.float64(1603.509364911948), np.float64(1603.5073708729365), np.float64(1603.5053768339249), np.float64(1603.503382794913), np.float64(1603.5013887559014), np.float64(1603.4993947168896), np.float64(1603.497400677878), np.float64(1603.4954066388664), np.float64(1603.4934125998545), np.float64(1603.491418560843), np.float64(1603.4894245218313), np.float64(1603.4874304828195), np.float64(1603.4854364438079), np.float64(1603.483442404796), np.float64(1603.4814483657844), np.float64(1603.4794543267728), np.float64(1603.477460287761), np.float64(1603.4754662487494), np.float64(1603.4734722097378), np.float64(1603.471478170726), np.float64(1603.4694841317144), np.float64(1603.4674900927025), np.float64(1603.465496053691), np.float64(1603.4635020146793), np.float64(1603.4615079756675), np.float64(1603.4595139366559), np.float64(1603.457519897644), np.float64(1603.4555258586324), np.float64(1603.4535318196208), np.float64(1603.451537780609), np.float64(1603.4495437415974), np.float64(1603.4475497025858), np.float64(1603.445555663574), np.float64(1603.4435616245623), np.float64(1603.4415675855505), np.float64(1603.439573546539), np.float64(1603.4375795075273), np.float64(1603.4355854685155), np.float64(1603.4335914295038), np.float64(1603.431597390492), np.float64(1603.4296033514804), np.float64(1603.4276093124688), np.float64(1603.425615273457), np.float64(1603.4236212344454), np.float64(1603.4216271954338), np.float64(1603.419633156422), np.float64(1603.4176391174103), np.float64(1603.4156450783985), np.float64(1603.4136510393869), np.float64(1603.4116570003753), np.float64(1603.4096629613634), np.float64(1603.4076689223518), np.float64(1603.40567488334), np.float64(1603.4036808443284), np.float64(1603.4016868053168), np.float64(1603.399692766305), np.float64(1603.3976987272933), np.float64(1603.3957046882817), np.float64(1603.39371064927), np.float64(1603.3917166102583), np.float64(1603.3897225712465), np.float64(1603.3877285322349), np.float64(1603.3857344932233), np.float64(1603.3837404542114), np.float64(1603.3817464151998), np.float64(1603.3797523761882), np.float64(1603.3777583371764), np.float64(1603.3757642981648), np.float64(1603.373770259153), np.float64(1603.3717762201413), np.float64(1603.3697821811297), np.float64(1603.367788142118), np.float64(1603.3657941031063), np.float64(1603.3638000640944), np.float64(1603.3618060250828), np.float64(1603.3598119860712), np.float64(1603.3578179470594), np.float64(1603.3558239080478), np.float64(1603.3538298690362), np.float64(1603.3518358300244), np.float64(1603.3498417910128), np.float64(1603.347847752001), np.float64(1603.3458537129893), np.float64(1603.3438596739777), np.float64(1603.3418656349659), np.float64(1603.3398715959543), np.float64(1603.3378775569424), np.float64(1603.3358835179308), np.float64(1603.3338894789192), np.float64(1603.3318954399074), np.float64(1603.3299014008958), np.float64(1603.3279073618842), np.float64(1603.3259133228723), np.float64(1603.3239192838607), np.float64(1603.321925244849), np.float64(1603.3199312058373), np.float64(1603.3179371668257), np.float64(1603.3159431278139), np.float64(1603.3139490888022), np.float64(1603.3119550497904), np.float64(1603.3099610107788), np.float64(1603.3079669717672), np.float64(1603.3059729327554), np.float64(1603.3039788937438), np.float64(1603.3019848547322), np.float64(1603.2999908157203), np.float64(1603.2979967767087), np.float64(1603.2960027376969), np.float64(1603.2940086986853), np.float64(1603.2920146596737), np.float64(1603.2900206206618), np.float64(1603.2880265816502), np.float64(1603.2860325426384), np.float64(1603.2840385036268), np.float64(1603.2820444646152), np.float64(1603.2800504256033), np.float64(1603.2780563865917), np.float64(1603.2760623475801), np.float64(1603.2740683085683), np.float64(1603.2720742695567), np.float64(1603.2700802305449), np.float64(1603.2680861915333), np.float64(1603.2660921525217), np.float64(1603.2640981135098), np.float64(1603.2621040744982), np.float64(1603.2601100354866), np.float64(1603.2581159964748), np.float64(1603.2561219574632), np.float64(1603.2541279184513), np.float64(1603.2521338794397), np.float64(1603.2501398404281), np.float64(1603.2481458014163), np.float64(1603.2461517624047), np.float64(1603.2441577233928), np.float64(1603.2421636843812), np.float64(1603.2401696453696), np.float64(1603.2381756063578), np.float64(1603.2361815673462), np.float64(1603.2341875283346), np.float64(1603.2321934893228), np.float64(1603.2301994503111), np.float64(1603.2282054112993), np.float64(1603.2262113722877), np.float64(1603.224217333276), np.float64(1603.2222232942643), np.float64(1603.2202292552527), np.float64(1603.2182352162408), np.float64(1603.2162411772292), np.float64(1603.2142471382176), np.float64(1603.2122530992058), np.float64(1603.2102590601942), np.float64(1603.2082650211826), np.float64(1603.2062709821707), np.float64(1603.2042769431591), np.float64(1603.2022829041473), np.float64(1603.2002888651357), np.float64(1603.198294826124), np.float64(1603.1963007871122), np.float64(1603.1943067481006), np.float64(1603.1923127090888), np.float64(1603.1903186700772), np.float64(1603.1883246310656), np.float64(1603.1863305920538), np.float64(1603.1843365530422), np.float64(1603.1823425140306), np.float64(1603.1803484750187), np.float64(1603.178354436007), np.float64(1603.1763603969953), np.float64(1603.1743663579837), np.float64(1603.172372318972), np.float64(1603.1703782799602), np.float64(1603.1683842409486), np.float64(1603.1663902019368), np.float64(1603.1643961629252), np.float64(1603.1624021239136), np.float64(1603.1604080849017), np.float64(1603.1584140458901), np.float64(1603.1564200068785), np.float64(1603.1544259678667), np.float64(1603.152431928855), np.float64(1603.1504378898433), np.float64(1603.1484438508317), np.float64(1603.14644981182), np.float64(1603.1444557728082), np.float64(1603.1424617337966), np.float64(1603.140467694785), np.float64(1603.1384736557732), np.float64(1603.1364796167616), np.float64(1603.1344855777497), np.float64(1603.1324915387381), np.float64(1603.1304974997265), np.float64(1603.1285034607147), np.float64(1603.126509421703), np.float64(1603.1245153826912), np.float64(1603.1225213436796), np.float64(1603.120527304668), np.float64(1603.1185332656562), np.float64(1603.1165392266446), np.float64(1603.114545187633), np.float64(1603.1125511486212), np.float64(1603.1105571096095), np.float64(1603.1085630705977), np.float64(1603.106569031586), np.float64(1603.1045749925745), np.float64(1603.1025809535627), np.float64(1603.100586914551), np.float64(1603.0985928755392), np.float64(1603.0965988365276), np.float64(1603.094604797516), np.float64(1603.0926107585042), np.float64(1603.0906167194926), np.float64(1603.088622680481), np.float64(1603.0866286414691), np.float64(1603.0846346024575), np.float64(1603.0826405634457), np.float64(1603.080646524434), np.float64(1603.0786524854225), np.float64(1603.0766584464106), np.float64(1603.074664407399), np.float64(1603.0726703683872), np.float64(1603.0706763293756), np.float64(1603.068682290364), np.float64(1603.0666882513522), np.float64(1603.0646942123406), np.float64(1603.062700173329), np.float64(1603.0607061343171), np.float64(1603.0587120953055), np.float64(1603.0567180562937), np.float64(1603.054724017282), np.float64(1603.0527299782705), np.float64(1603.0507359392586), np.float64(1603.048741900247), np.float64(1603.0467478612354), np.float64(1603.0447538222236), np.float64(1603.042759783212), np.float64(1603.0407657442001), np.float64(1603.0387717051885), np.float64(1603.036777666177), np.float64(1603.034783627165), np.float64(1603.0327895881535), np.float64(1603.0307955491417), np.float64(1603.02880151013), np.float64(1603.0268074711184), np.float64(1603.0248134321066), np.float64(1603.022819393095), np.float64(1603.0208253540834), np.float64(1603.0188313150716), np.float64(1603.01683727606), np.float64(1603.0148432370481), np.float64(1603.0128491980365), np.float64(1603.010855159025), np.float64(1603.008861120013), np.float64(1603.0068670810015), np.float64(1603.0048730419896), np.float64(1603.002879002978), np.float64(1603.0008849639664), np.float64(1602.9988909249546), np.float64(1602.996896885943), np.float64(1602.9949028469314), np.float64(1602.9929088079195), np.float64(1602.990914768908), np.float64(1602.988920729896), np.float64(1602.9869266908845), np.float64(1602.984932651873), np.float64(1602.982938612861), np.float64(1602.9809445738495), np.float64(1602.9789505348376), np.float64(1602.976956495826), np.float64(1602.9749624568144), np.float64(1602.9729684178026), np.float64(1602.970974378791), np.float64(1602.9689803397794), np.float64(1602.9669863007675), np.float64(1602.964992261756), np.float64(1602.962998222744), np.float64(1602.9610041837325), np.float64(1602.9590101447209), np.float64(1602.957016105709), np.float64(1602.9550220666974), np.float64(1602.9530280276856), np.float64(1602.951033988674), np.float64(1602.9490399496624), np.float64(1602.9470459106506), np.float64(1602.945051871639), np.float64(1602.9430578326273), np.float64(1602.9410637936155), np.float64(1602.939069754604), np.float64(1602.937075715592), np.float64(1602.9350816765805), np.float64(1602.9330876375689), np.float64(1602.931093598557), np.float64(1602.9290995595454), np.float64(1602.9271055205338), np.float64(1602.925111481522), np.float64(1602.9231174425104), np.float64(1602.9211234034985), np.float64(1602.919129364487), np.float64(1602.9171353254753), np.float64(1602.9151412864635), np.float64(1602.913147247452), np.float64(1602.91115320844), np.float64(1602.9091591694284), np.float64(1602.9071651304168), np.float64(1602.905171091405), np.float64(1602.9031770523934), np.float64(1602.9011830133818), np.float64(1602.89918897437), np.float64(1602.8971949353584), np.float64(1602.8952008963465), np.float64(1602.893206857335), np.float64(1602.8912128183233), np.float64(1602.8892187793115), np.float64(1602.8872247402999), np.float64(1602.885230701288), np.float64(1602.8832366622764), np.float64(1602.8812426232648), np.float64(1602.879248584253), np.float64(1602.8772545452414), np.float64(1602.8752605062298), np.float64(1602.873266467218), np.float64(1602.8712724282063), np.float64(1602.8692783891945), np.float64(1602.867284350183), np.float64(1602.8652903111713), np.float64(1602.8632962721595), np.float64(1602.8613022331479), np.float64(1602.859308194136), np.float64(1602.8573141551244), np.float64(1602.8553201161128), np.float64(1602.853326077101), np.float64(1602.8513320380894), np.float64(1602.8493379990778), np.float64(1602.847343960066), np.float64(1602.8453499210543), np.float64(1602.8433558820425), np.float64(1602.8413618430309), np.float64(1602.8393678040193), np.float64(1602.8373737650074), np.float64(1602.8353797259958), np.float64(1602.8333856869842), np.float64(1602.8313916479724), np.float64(1602.8293976089608), np.float64(1602.827403569949), np.float64(1602.8254095309373), np.float64(1602.8234154919257), np.float64(1602.821421452914), np.float64(1602.8194274139023), np.float64(1602.8174333748905), np.float64(1602.8154393358789), np.float64(1602.8134452968673), np.float64(1602.8114512578554), np.float64(1602.8094572188438), np.float64(1602.8074631798322), np.float64(1602.8054691408204), np.float64(1602.8034751018088), np.float64(1602.801481062797), np.float64(1602.7994870237853), np.float64(1602.7974929847737), np.float64(1602.795498945762), np.float64(1602.7935049067503), np.float64(1602.7915108677385), np.float64(1602.7895168287268), np.float64(1602.7875227897152), np.float64(1602.7855287507034), np.float64(1602.7835347116918), np.float64(1602.7815406726802), np.float64(1602.7795466336684), np.float64(1602.7775525946568), np.float64(1602.775558555645), np.float64(1602.7735645166333), np.float64(1602.7715704776217), np.float64(1602.7695764386099), np.float64(1602.7675823995983), np.float64(1602.7655883605864), np.float64(1602.7635943215748), np.float64(1602.7616002825632), np.float64(1602.7596062435514), np.float64(1602.7576122045398), np.float64(1602.7556181655282), np.float64(1602.7536241265163), np.float64(1602.7516300875047), np.float64(1602.749636048493), np.float64(1602.7476420094813), np.float64(1602.7456479704697), np.float64(1602.7436539314579), np.float64(1602.7416598924463), np.float64(1602.7396658534344), np.float64(1602.7376718144228), np.float64(1602.7356777754112), np.float64(1602.7336837363994), np.float64(1602.7316896973878), np.float64(1602.7296956583762), np.float64(1602.7277016193643), np.float64(1602.7257075803527), np.float64(1602.7237135413409), np.float64(1602.7217195023293), np.float64(1602.7197254633177), np.float64(1602.7177314243058), np.float64(1602.7157373852942), np.float64(1602.7137433462826), np.float64(1602.7117493072708), np.float64(1602.7097552682592), np.float64(1602.7077612292474), np.float64(1602.7057671902357), np.float64(1602.7037731512241), np.float64(1602.7017791122123), np.float64(1602.6997850732007), np.float64(1602.6977910341889), np.float64(1602.6957969951773), np.float64(1602.6938029561657), np.float64(1602.6918089171538), np.float64(1602.6898148781422), np.float64(1602.6878208391306), np.float64(1602.6858268001188), np.float64(1602.6838327611072), np.float64(1602.6818387220953), np.float64(1602.6798446830837), np.float64(1602.6778506440721), np.float64(1602.6758566050603), np.float64(1602.6738625660487), np.float64(1602.6718685270368), np.float64(1602.6698744880252), np.float64(1602.6678804490136), np.float64(1602.6658864100018), np.float64(1602.6638923709902), np.float64(1602.6618983319786), np.float64(1602.6599042929668), np.float64(1602.6579102539552), np.float64(1602.6559162149433), np.float64(1602.6539221759317), np.float64(1602.65192813692), np.float64(1602.6499340979083), np.float64(1602.6479400588967), np.float64(1602.6459460198848), np.float64(1602.6439519808732), np.float64(1602.6419579418616), np.float64(1602.6399639028498), np.float64(1602.6379698638382), np.float64(1602.6359758248266), np.float64(1602.6339817858147), np.float64(1602.6319877468031), np.float64(1602.6299937077913), np.float64(1602.6279996687797), np.float64(1602.626005629768), np.float64(1602.6240115907563), np.float64(1602.6220175517446), np.float64(1602.620023512733), np.float64(1602.6180294737212), np.float64(1602.6160354347096), np.float64(1602.6140413956978), np.float64(1602.6120473566862), np.float64(1602.6100533176746), np.float64(1602.6080592786627), np.float64(1602.6060652396511), np.float64(1602.6040712006393), np.float64(1602.6020771616277), np.float64(1602.600083122616), np.float64(1602.5980890836042), np.float64(1602.5960950445926), np.float64(1602.594101005581), np.float64(1602.5921069665692), np.float64(1602.5901129275576), np.float64(1602.5881188885458), np.float64(1602.5861248495341), np.float64(1602.5841308105225), np.float64(1602.5821367715107), np.float64(1602.580142732499), np.float64(1602.5781486934873), np.float64(1602.5761546544757), np.float64(1602.574160615464), np.float64(1602.5721665764522), np.float64(1602.5701725374406), np.float64(1602.568178498429), np.float64(1602.5661844594172), np.float64(1602.5641904204056), np.float64(1602.5621963813937), np.float64(1602.5602023423821), np.float64(1602.5582083033705), np.float64(1602.5562142643587), np.float64(1602.554220225347), np.float64(1602.5522261863352), np.float64(1602.5502321473236), np.float64(1602.548238108312), np.float64(1602.5462440693002), np.float64(1602.5442500302886), np.float64(1602.542255991277), np.float64(1602.5402619522652), np.float64(1602.5382679132535), np.float64(1602.5362738742417), np.float64(1602.53427983523), np.float64(1602.5322857962185), np.float64(1602.5302917572067), np.float64(1602.528297718195), np.float64(1602.5263036791832), np.float64(1602.5243096401716), np.float64(1602.52231560116), np.float64(1602.5203215621482), np.float64(1602.5183275231366), np.float64(1602.516333484125), np.float64(1602.5143394451131), np.float64(1602.5123454061015), np.float64(1602.5103513670897), np.float64(1602.508357328078), np.float64(1602.5063632890665), np.float64(1602.5043692500547), np.float64(1602.502375211043), np.float64(1602.5003811720314), np.float64(1602.4983871330196), np.float64(1602.496393094008), np.float64(1602.4943990549962), np.float64(1602.4924050159846), np.float64(1602.490410976973), np.float64(1602.4884169379611), np.float64(1602.4864228989495), np.float64(1602.4844288599377), np.float64(1602.482434820926), np.float64(1602.4804407819145), np.float64(1602.4784467429026), np.float64(1602.476452703891), np.float64(1602.4744586648794), np.float64(1602.4724646258676), np.float64(1602.470470586856), np.float64(1602.4684765478441), np.float64(1602.4664825088325), np.float64(1602.464488469821), np.float64(1602.462494430809), np.float64(1602.4605003917975), np.float64(1602.4585063527857), np.float64(1602.456512313774), np.float64(1602.4545182747624), np.float64(1602.4525242357506), np.float64(1602.450530196739), np.float64(1602.4485361577274), np.float64(1602.4465421187156), np.float64(1602.444548079704), np.float64(1602.4425540406921), np.float64(1602.4405600016805), np.float64(1602.438565962669), np.float64(1602.436571923657), np.float64(1602.4345778846455), np.float64(1602.4325838456336), np.float64(1602.430589806622), np.float64(1602.4285957676104), np.float64(1602.4266017285986), np.float64(1602.424607689587), np.float64(1602.4226136505754), np.float64(1602.4206196115636), np.float64(1602.418625572552), np.float64(1602.41663153354), np.float64(1602.4146374945285), np.float64(1602.412643455517), np.float64(1602.410649416505), np.float64(1602.4086553774935), np.float64(1602.4066613384819), np.float64(1602.40466729947), np.float64(1602.4026732604584), np.float64(1602.4006792214466), np.float64(1602.398685182435), np.float64(1602.3966911434234), np.float64(1602.3946971044115), np.float64(1602.3927030654), np.float64(1602.390709026388), np.float64(1602.3887149873765), np.float64(1602.3867209483649), np.float64(1602.384726909353), np.float64(1602.3827328703414), np.float64(1602.3807388313298), np.float64(1602.378744792318), np.float64(1602.3767507533064), np.float64(1602.3747567142946), np.float64(1602.372762675283), np.float64(1602.3707686362714), np.float64(1602.3687745972595), np.float64(1602.366780558248), np.float64(1602.364786519236), np.float64(1602.3627924802245), np.float64(1602.3607984412129), np.float64(1602.358804402201), np.float64(1602.3568103631894), np.float64(1602.3548163241778), np.float64(1602.352822285166), np.float64(1602.3508282461544), np.float64(1602.3488342071425), np.float64(1602.346840168131), np.float64(1602.3448461291193), np.float64(1602.3428520901075), np.float64(1602.340858051096), np.float64(1602.338864012084), np.float64(1602.3368699730725), np.float64(1602.3348759340608), np.float64(1602.332881895049), np.float64(1602.3308878560374), np.float64(1602.3288938170258), np.float64(1602.326899778014), np.float64(1602.3249057390024), np.float64(1602.3229116999905), np.float64(1602.320917660979), np.float64(1602.3189236219673), np.float64(1602.3169295829555), np.float64(1602.3149355439439), np.float64(1602.312941504932), np.float64(1602.3109474659204), np.float64(1602.3089534269088), np.float64(1602.306959387897), np.float64(1602.3049653488854), np.float64(1602.3029713098738), np.float64(1602.300977270862), np.float64(1602.2989832318503), np.float64(1602.2969891928385), np.float64(1602.294995153827), np.float64(1602.2930011148153), np.float64(1602.2910070758035), np.float64(1602.2890130367919), np.float64(1602.2870189977803), np.float64(1602.2850249587684), np.float64(1602.2830309197568), np.float64(1602.281036880745), np.float64(1602.2790428417334), np.float64(1602.2770488027218), np.float64(1602.27505476371), np.float64(1602.2730607246983), np.float64(1602.2710666856865), np.float64(1602.2690726466749), np.float64(1602.2670786076633), np.float64(1602.2650845686514), np.float64(1602.2630905296398), np.float64(1602.2610964906282), np.float64(1602.2591024516164), np.float64(1602.2571084126048), np.float64(1602.255114373593), np.float64(1602.2531203345814), np.float64(1602.2511262955697), np.float64(1602.249132256558), np.float64(1602.2471382175463), np.float64(1602.2451441785345), np.float64(1602.2431501395229), np.float64(1602.2411561005113), np.float64(1602.2391620614994), np.float64(1602.2371680224878), np.float64(1602.2351739834762), np.float64(1602.2331799444644), np.float64(1602.2311859054528), np.float64(1602.229191866441), np.float64(1602.2271978274293), np.float64(1602.2252037884177), np.float64(1602.223209749406), np.float64(1602.2212157103943), np.float64(1602.2192216713825), np.float64(1602.2172276323709), np.float64(1602.2152335933592), np.float64(1602.2132395543474), np.float64(1602.2112455153358), np.float64(1602.2092514763242), np.float64(1602.2072574373124), np.float64(1602.2052633983008), np.float64(1602.203269359289), np.float64(1602.2012753202773), np.float64(1602.1992812812657), np.float64(1602.1972872422539), np.float64(1602.1952932032423), np.float64(1602.1932991642307), np.float64(1602.1913051252188), np.float64(1602.1893110862072), np.float64(1602.1873170471954), np.float64(1602.1853230081838), np.float64(1602.1833289691722), np.float64(1602.1813349301603), np.float64(1602.1793408911487), np.float64(1602.177346852137), np.float64(1602.1753528131253), np.float64(1602.1733587741137), np.float64(1602.1713647351019), np.float64(1602.1693706960903), np.float64(1602.1673766570786), np.float64(1602.1653826180668), np.float64(1602.1633885790552), np.float64(1602.1613945400434), np.float64(1602.1594005010318), np.float64(1602.1574064620202), np.float64(1602.1554124230083), np.float64(1602.1534183839967), np.float64(1602.151424344985), np.float64(1602.1494303059733), np.float64(1602.1474362669617), np.float64(1602.1454422279498), np.float64(1602.1434481889382), np.float64(1602.1414541499266), np.float64(1602.1394601109148), np.float64(1602.1374660719032), np.float64(1602.1354720328914), np.float64(1602.1334779938798), np.float64(1602.1314839548681), np.float64(1602.1294899158563), np.float64(1602.1274958768447), np.float64(1602.1255018378329), np.float64(1602.1235077988213), np.float64(1602.1215137598097), np.float64(1602.1195197207978), np.float64(1602.1175256817862), np.float64(1602.1155316427746), np.float64(1602.1135376037628), np.float64(1602.1115435647512), np.float64(1602.1095495257393), np.float64(1602.1075554867277), np.float64(1602.1055614477161), np.float64(1602.1035674087043), np.float64(1602.1015733696927), np.float64(1602.0995793306809), np.float64(1602.0975852916692), np.float64(1602.0955912526576), np.float64(1602.0935972136458), np.float64(1602.0916031746342), np.float64(1602.0896091356226), np.float64(1602.0876150966108), np.float64(1602.0856210575992), np.float64(1602.0836270185873), np.float64(1602.0816329795757), np.float64(1602.079638940564), np.float64(1602.0776449015523), np.float64(1602.0756508625407), np.float64(1602.073656823529), np.float64(1602.0716627845172), np.float64(1602.0696687455056), np.float64(1602.0676747064938), np.float64(1602.0656806674822), np.float64(1602.0636866284706), np.float64(1602.0616925894587), np.float64(1602.0596985504471), np.float64(1602.0577045114353), np.float64(1602.0557104724237), np.float64(1602.053716433412), np.float64(1602.0517223944003), np.float64(1602.0497283553887), np.float64(1602.047734316377), np.float64(1602.0457402773652), np.float64(1602.0437462383536), np.float64(1602.0417521993418), np.float64(1602.0397581603302), np.float64(1602.0377641213186), np.float64(1602.0357700823067), np.float64(1602.0337760432951), np.float64(1602.0317820042833), np.float64(1602.0297879652717), np.float64(1602.02779392626), np.float64(1602.0257998872482), np.float64(1602.0238058482366), np.float64(1602.021811809225), np.float64(1602.0198177702132), np.float64(1602.0178237312016), np.float64(1602.0158296921898), np.float64(1602.0138356531781), np.float64(1602.0118416141665), np.float64(1602.0098475751547), np.float64(1602.007853536143), np.float64(1602.0058594971313), np.float64(1602.0038654581197), np.float64(1602.001871419108), np.float64(1601.9998773800962), np.float64(1601.9978833410846), np.float64(1601.995889302073), np.float64(1601.9938952630612), np.float64(1601.9919012240496), np.float64(1601.9899071850377), np.float64(1601.9879131460261), np.float64(1601.9859191070145), np.float64(1601.9839250680027), np.float64(1601.981931028991), np.float64(1601.9799369899793), np.float64(1601.9779429509676), np.float64(1601.975948911956), np.float64(1601.9739548729442), np.float64(1601.9719608339326), np.float64(1601.969966794921), np.float64(1601.9679727559092), np.float64(1601.9659787168976), np.float64(1601.9639846778857), np.float64(1601.961990638874), np.float64(1601.9599965998625), np.float64(1601.9580025608507), np.float64(1601.956008521839), np.float64(1601.9540144828275), np.float64(1601.9520204438156), np.float64(1601.950026404804), np.float64(1601.9480323657922), np.float64(1601.9460383267806), np.float64(1601.944044287769), np.float64(1601.9420502487571), np.float64(1601.9400562097455), np.float64(1601.9380621707337), np.float64(1601.936068131722), np.float64(1601.9340740927105), np.float64(1601.9320800536987), np.float64(1601.930086014687), np.float64(1601.9280919756754), np.float64(1601.9260979366636), np.float64(1601.924103897652), np.float64(1601.9221098586402), np.float64(1601.9201158196286), np.float64(1601.918121780617), np.float64(1601.9161277416051), np.float64(1601.9141337025935), np.float64(1601.9121396635817), np.float64(1601.91014562457), np.float64(1601.9081515855585), np.float64(1601.9061575465466), np.float64(1601.904163507535), np.float64(1601.9021694685234), np.float64(1601.9001754295116), np.float64(1601.8981813905), np.float64(1601.8961873514882), np.float64(1601.8941933124765), np.float64(1601.892199273465), np.float64(1601.890205234453), np.float64(1601.8882111954415), np.float64(1601.8862171564297), np.float64(1601.884223117418), np.float64(1601.8822290784065), np.float64(1601.8802350393946), np.float64(1601.878241000383), np.float64(1601.8762469613714), np.float64(1601.8742529223596), np.float64(1601.872258883348), np.float64(1601.8702648443361), np.float64(1601.8682708053245), np.float64(1601.866276766313), np.float64(1601.864282727301), np.float64(1601.8622886882895), np.float64(1601.8602946492779), np.float64(1601.858300610266), np.float64(1601.8563065712544), np.float64(1601.8543125322426), np.float64(1601.852318493231), np.float64(1601.8503244542194), np.float64(1601.8483304152076), np.float64(1601.846336376196), np.float64(1601.8443423371841), np.float64(1601.8423482981725), np.float64(1601.840354259161), np.float64(1601.838360220149), np.float64(1601.8363661811375), np.float64(1601.8343721421259), np.float64(1601.832378103114), np.float64(1601.8303840641024), np.float64(1601.8283900250906), np.float64(1601.826395986079), np.float64(1601.8244019470674), np.float64(1601.8224079080555), np.float64(1601.820413869044), np.float64(1601.818419830032), np.float64(1601.8164257910205), np.float64(1601.8144317520089), np.float64(1601.812437712997), np.float64(1601.8104436739854), np.float64(1601.8084496349738), np.float64(1601.806455595962), np.float64(1601.8044615569504), np.float64(1601.8024675179386), np.float64(1601.800473478927), np.float64(1601.7984794399154), np.float64(1601.7964854009035), np.float64(1601.794491361892), np.float64(1601.79249732288), np.float64(1601.7905032838685), np.float64(1601.7885092448569), np.float64(1601.786515205845), np.float64(1601.7845211668334), np.float64(1601.7825271278218), np.float64(1601.78053308881), np.float64(1601.7785390497984), np.float64(1601.7765450107865), np.float64(1601.774550971775), np.float64(1601.7725569327633), np.float64(1601.7705628937515), np.float64(1601.76856885474), np.float64(1601.766574815728), np.float64(1601.7645807767165), np.float64(1601.7625867377049), np.float64(1601.760592698693), np.float64(1601.7585986596814), np.float64(1601.7566046206698), np.float64(1601.754610581658), np.float64(1601.7526165426464), np.float64(1601.7506225036345), np.float64(1601.748628464623), np.float64(1601.7466344256113), np.float64(1601.7446403865995), np.float64(1601.7426463475879), np.float64(1601.7406523085763), np.float64(1601.7386582695644), np.float64(1601.7366642305528), np.float64(1601.734670191541), np.float64(1601.7326761525294), np.float64(1601.7306821135178), np.float64(1601.728688074506), np.float64(1601.7266940354943), np.float64(1601.7246999964825), np.float64(1601.722705957471), np.float64(1601.7207119184593), np.float64(1601.7187178794475), np.float64(1601.7167238404359), np.float64(1601.7147298014243), np.float64(1601.7127357624124), np.float64(1601.7107417234008), np.float64(1601.708747684389), np.float64(1601.7067536453774), np.float64(1601.7047596063658), np.float64(1601.702765567354), np.float64(1601.7007715283423), np.float64(1601.6987774893305), np.float64(1601.696783450319), np.float64(1601.6947894113073), np.float64(1601.6927953722954), np.float64(1601.6908013332838), np.float64(1601.6888072942722), np.float64(1601.6868132552604), np.float64(1601.6848192162488), np.float64(1601.682825177237), np.float64(1601.6808311382254), np.float64(1601.6788370992138), np.float64(1601.676843060202), np.float64(1601.6748490211903), np.float64(1601.6728549821785), np.float64(1601.6708609431669), np.float64(1601.6688669041553), np.float64(1601.6668728651434), np.float64(1601.6648788261318), np.float64(1601.6628847871202), np.float64(1601.6608907481084), np.float64(1601.6588967090968), np.float64(1601.656902670085), np.float64(1601.6549086310733), np.float64(1601.6529145920617), np.float64(1601.65092055305), np.float64(1601.6489265140383), np.float64(1601.6469324750267), np.float64(1601.6449384360149), np.float64(1601.6429443970032), np.float64(1601.6409503579914), np.float64(1601.6389563189798), np.float64(1601.6369622799682), np.float64(1601.6349682409564), np.float64(1601.6329742019448), np.float64(1601.630980162933), np.float64(1601.6289861239213), np.float64(1601.6269920849097), np.float64(1601.6249980458979), np.float64(1601.6230040068863), np.float64(1601.6210099678747), np.float64(1601.6190159288628), np.float64(1601.6170218898512), np.float64(1601.6150278508394), np.float64(1601.6130338118278), np.float64(1601.6110397728162), np.float64(1601.6090457338044), np.float64(1601.6070516947927), np.float64(1601.605057655781), np.float64(1601.6030636167693), np.float64(1601.6010695777577), np.float64(1601.5990755387459), np.float64(1601.5970814997343), np.float64(1601.5950874607227), np.float64(1601.5930934217108), np.float64(1601.5910993826992), np.float64(1601.5891053436874), np.float64(1601.5871113046758), np.float64(1601.5851172656642), np.float64(1601.5831232266523), np.float64(1601.5811291876407), np.float64(1601.579135148629), np.float64(1601.5771411096173), np.float64(1601.5751470706057), np.float64(1601.5731530315938), np.float64(1601.5711589925822), np.float64(1601.5691649535706), np.float64(1601.5671709145588), np.float64(1601.5651768755472), np.float64(1601.5631828365354), np.float64(1601.5611887975238), np.float64(1601.5591947585121), np.float64(1601.5572007195003), np.float64(1601.5552066804887), np.float64(1601.5532126414769), np.float64(1601.5512186024653), np.float64(1601.5492245634537), np.float64(1601.5472305244418), np.float64(1601.5452364854302), np.float64(1601.5432424464186), np.float64(1601.5412484074068), np.float64(1601.5392543683952), np.float64(1601.5372603293833), np.float64(1601.5352662903717), np.float64(1601.5332722513601), np.float64(1601.5312782123483), np.float64(1601.5292841733367), np.float64(1601.527290134325), np.float64(1601.5252960953133), np.float64(1601.5233020563016), np.float64(1601.5213080172898), np.float64(1601.5193139782782), np.float64(1601.5173199392666), np.float64(1601.5153259002548), np.float64(1601.5133318612432), np.float64(1601.5113378222313), np.float64(1601.5093437832197), np.float64(1601.507349744208), np.float64(1601.5053557051963), np.float64(1601.5033616661847), np.float64(1601.501367627173), np.float64(1601.4993735881612), np.float64(1601.4973795491496), np.float64(1601.4953855101378), np.float64(1601.4933914711262), np.float64(1601.4913974321146), np.float64(1601.4894033931027), np.float64(1601.4874093540911), np.float64(1601.4854153150793), np.float64(1601.4834212760677), np.float64(1601.481427237056), np.float64(1601.4794331980443), np.float64(1601.4774391590327), np.float64(1601.475445120021), np.float64(1601.4734510810092), np.float64(1601.4714570419976), np.float64(1601.4694630029858), np.float64(1601.4674689639742), np.float64(1601.4654749249626), np.float64(1601.4634808859507), np.float64(1601.4614868469391), np.float64(1601.4594928079273), np.float64(1601.4574987689157), np.float64(1601.455504729904), np.float64(1601.4535106908922), np.float64(1601.4515166518806), np.float64(1601.449522612869), np.float64(1601.4475285738572), np.float64(1601.4455345348456), np.float64(1601.4435404958338), np.float64(1601.4415464568222), np.float64(1601.4395524178105), np.float64(1601.4375583787987), np.float64(1601.435564339787), np.float64(1601.4335703007755), np.float64(1601.4315762617637), np.float64(1601.429582222752), np.float64(1601.4275881837402), np.float64(1601.4255941447286), np.float64(1601.423600105717), np.float64(1601.4216060667052), np.float64(1601.4196120276936), np.float64(1601.4176179886817), np.float64(1601.4156239496701), np.float64(1601.4136299106585), np.float64(1601.4116358716467), np.float64(1601.409641832635), np.float64(1601.4076477936235), np.float64(1601.4056537546116), np.float64(1601.4036597156), np.float64(1601.4016656765882), np.float64(1601.3996716375766), np.float64(1601.397677598565), np.float64(1601.3956835595532), np.float64(1601.3936895205416), np.float64(1601.3916954815297), np.float64(1601.3897014425181), np.float64(1601.3877074035065), np.float64(1601.3857133644947), np.float64(1601.383719325483), np.float64(1601.3817252864715), np.float64(1601.3797312474596), np.float64(1601.377737208448), np.float64(1601.3757431694362), np.float64(1601.3737491304246), np.float64(1601.371755091413), np.float64(1601.3697610524011), np.float64(1601.3677670133895), np.float64(1601.3657729743777), np.float64(1601.363778935366), np.float64(1601.3617848963545), np.float64(1601.3597908573427), np.float64(1601.357796818331), np.float64(1601.3558027793194), np.float64(1601.3538087403076), np.float64(1601.351814701296), np.float64(1601.3498206622842), np.float64(1601.3478266232726), np.float64(1601.345832584261), np.float64(1601.3438385452491), np.float64(1601.3418445062375), np.float64(1601.3398504672257), np.float64(1601.337856428214), np.float64(1601.3358623892025), np.float64(1601.3338683501906), np.float64(1601.331874311179), np.float64(1601.3298802721674), np.float64(1601.3278862331556), np.float64(1601.325892194144), np.float64(1601.3238981551322), np.float64(1601.3219041161205), np.float64(1601.319910077109), np.float64(1601.317916038097), np.float64(1601.3159219990855), np.float64(1601.313927960074), np.float64(1601.311933921062), np.float64(1601.3099398820505), np.float64(1601.3079458430386), np.float64(1601.305951804027), np.float64(1601.3039577650154), np.float64(1601.3019637260036), np.float64(1601.299969686992), np.float64(1601.2979756479801), np.float64(1601.2959816089685), np.float64(1601.293987569957), np.float64(1601.291993530945), np.float64(1601.2899994919335), np.float64(1601.2880054529219), np.float64(1601.28601141391), np.float64(1601.2840173748984), np.float64(1601.2820233358866), np.float64(1601.280029296875)]
Right Boundary Groundwater Elevations: [np.float64(1605.26611328125), np.float64(1605.2639457532541), np.float64(1605.2617782252582), np.float64(1605.2596106972624), np.float64(1605.2574431692665), np.float64(1605.2552756412708), np.float64(1605.253108113275), np.float64(1605.250940585279), np.float64(1605.2487730572832), np.float64(1605.2466055292873), np.float64(1605.2444380012914), np.float64(1605.2422704732955), np.float64(1605.2401029452997), np.float64(1605.2379354173038), np.float64(1605.2357678893081), np.float64(1605.2336003613123), np.float64(1605.2314328333164), np.float64(1605.2292653053205), np.float64(1605.2270977773246), np.float64(1605.2249302493287), np.float64(1605.2227627213329), np.float64(1605.220595193337), np.float64(1605.2184276653413), np.float64(1605.2162601373454), np.float64(1605.2140926093496), np.float64(1605.2119250813537), np.float64(1605.2097575533578), np.float64(1605.207590025362), np.float64(1605.205422497366), np.float64(1605.2032549693702), np.float64(1605.2010874413743), np.float64(1605.1989199133786), np.float64(1605.1967523853828), np.float64(1605.1945848573869), np.float64(1605.192417329391), np.float64(1605.190249801395), np.float64(1605.1880822733992), np.float64(1605.1859147454034), np.float64(1605.1837472174075), np.float64(1605.1815796894116), np.float64(1605.179412161416), np.float64(1605.17724463342), np.float64(1605.1750771054242), np.float64(1605.1729095774283), np.float64(1605.1707420494324), np.float64(1605.1685745214365), np.float64(1605.1664069934407), np.float64(1605.1642394654448), np.float64(1605.1620719374491), np.float64(1605.1599044094532), np.float64(1605.1577368814574), np.float64(1605.1555693534615), np.float64(1605.1534018254656), np.float64(1605.1512342974697), np.float64(1605.1490667694738), np.float64(1605.146899241478), np.float64(1605.144731713482), np.float64(1605.1425641854864), np.float64(1605.1403966574906), np.float64(1605.1382291294947), np.float64(1605.1360616014988), np.float64(1605.133894073503), np.float64(1605.131726545507), np.float64(1605.1295590175112), np.float64(1605.1273914895153), np.float64(1605.1252239615194), np.float64(1605.1230564335237), np.float64(1605.1208889055279), np.float64(1605.118721377532), np.float64(1605.116553849536), np.float64(1605.1143863215402), np.float64(1605.1122187935443), np.float64(1605.1100512655485), np.float64(1605.1078837375526), np.float64(1605.105716209557), np.float64(1605.103548681561), np.float64(1605.1013811535652), np.float64(1605.0992136255693), np.float64(1605.0970460975734), np.float64(1605.0948785695775), np.float64(1605.0927110415817), np.float64(1605.0905435135858), np.float64(1605.08837598559), np.float64(1605.0862084575942), np.float64(1605.0840409295984), np.float64(1605.0818734016025), np.float64(1605.0797058736066), np.float64(1605.0775383456107), np.float64(1605.0753708176148), np.float64(1605.073203289619), np.float64(1605.071035761623), np.float64(1605.0688682336272), np.float64(1605.0667007056315), np.float64(1605.0645331776357), np.float64(1605.0623656496398), np.float64(1605.060198121644), np.float64(1605.058030593648), np.float64(1605.0558630656521), np.float64(1605.0536955376563), np.float64(1605.0515280096604), np.float64(1605.0493604816647), np.float64(1605.0471929536689), np.float64(1605.045025425673), np.float64(1605.042857897677), np.float64(1605.0406903696812), np.float64(1605.0385228416853), np.float64(1605.0363553136895), np.float64(1605.0341877856936), np.float64(1605.0320202576977), np.float64(1605.029852729702), np.float64(1605.0276852017062), np.float64(1605.0255176737103), np.float64(1605.0233501457144), np.float64(1605.0211826177185), np.float64(1605.0190150897226), np.float64(1605.0168475617268), np.float64(1605.0146800337309), np.float64(1605.012512505735), np.float64(1605.0103449777394), np.float64(1605.0081774497435), np.float64(1605.0060099217476), np.float64(1605.0038423937517), np.float64(1605.0016748657558), np.float64(1604.99950733776), np.float64(1604.997339809764), np.float64(1604.9951722817682), np.float64(1604.9930047537725), np.float64(1604.9908372257767), np.float64(1604.9886696977808), np.float64(1604.986502169785), np.float64(1604.984334641789), np.float64(1604.9821671137931), np.float64(1604.9799995857973), np.float64(1604.9778320578014), np.float64(1604.9756645298055), np.float64(1604.9734970018098), np.float64(1604.971329473814), np.float64(1604.969161945818), np.float64(1604.9669944178222), np.float64(1604.9648268898263), np.float64(1604.9626593618304), np.float64(1604.9604918338346), np.float64(1604.9583243058387), np.float64(1604.9561567778428), np.float64(1604.9539892498472), np.float64(1604.9518217218513), np.float64(1604.9496541938554), np.float64(1604.9474866658595), np.float64(1604.9453191378636), np.float64(1604.9431516098678), np.float64(1604.9409840818719), np.float64(1604.938816553876), np.float64(1604.9366490258803), np.float64(1604.9344814978845), np.float64(1604.9323139698886), np.float64(1604.9301464418927), np.float64(1604.9279789138968), np.float64(1604.925811385901), np.float64(1604.923643857905), np.float64(1604.9214763299092), np.float64(1604.9193088019133), np.float64(1604.9171412739177), np.float64(1604.9149737459218), np.float64(1604.912806217926), np.float64(1604.91063868993), np.float64(1604.9084711619341), np.float64(1604.9063036339383), np.float64(1604.9041361059424), np.float64(1604.9019685779465), np.float64(1604.8998010499506), np.float64(1604.897633521955), np.float64(1604.895465993959), np.float64(1604.8932984659632), np.float64(1604.8911309379673), np.float64(1604.8889634099714), np.float64(1604.8867958819756), np.float64(1604.8846283539797), np.float64(1604.8824608259838), np.float64(1604.8802932979881), np.float64(1604.8781257699923), np.float64(1604.8759582419964), np.float64(1604.8737907140005), np.float64(1604.8716231860046), np.float64(1604.8694556580087), np.float64(1604.8672881300129), np.float64(1604.865120602017), np.float64(1604.862953074021), np.float64(1604.8607855460255), np.float64(1604.8586180180296), np.float64(1604.8564504900337), np.float64(1604.8542829620378), np.float64(1604.852115434042), np.float64(1604.849947906046), np.float64(1604.8477803780502), np.float64(1604.8456128500543), np.float64(1604.8434453220584), np.float64(1604.8412777940628), np.float64(1604.8391102660669), np.float64(1604.836942738071), np.float64(1604.8347752100751), np.float64(1604.8326076820792), np.float64(1604.8304401540834), np.float64(1604.8282726260875), np.float64(1604.8261050980916), np.float64(1604.823937570096), np.float64(1604.8217700421), np.float64(1604.8196025141042), np.float64(1604.8174349861083), np.float64(1604.8152674581124), np.float64(1604.8130999301166), np.float64(1604.8109324021207), np.float64(1604.8087648741248), np.float64(1604.806597346129), np.float64(1604.8044298181333), np.float64(1604.8022622901374), np.float64(1604.8000947621415), np.float64(1604.7979272341456), np.float64(1604.7957597061497), np.float64(1604.7935921781539), np.float64(1604.791424650158), np.float64(1604.789257122162), np.float64(1604.7870895941662), np.float64(1604.7849220661706), np.float64(1604.7827545381747), np.float64(1604.7805870101788), np.float64(1604.778419482183), np.float64(1604.776251954187), np.float64(1604.7740844261912), np.float64(1604.7719168981953), np.float64(1604.7697493701994), np.float64(1604.7675818422038), np.float64(1604.7654143142079), np.float64(1604.763246786212), np.float64(1604.7610792582161), np.float64(1604.7589117302202), np.float64(1604.7567442022244), np.float64(1604.7545766742285), np.float64(1604.7524091462326), np.float64(1604.7502416182367), np.float64(1604.748074090241), np.float64(1604.7459065622452), np.float64(1604.7437390342493), np.float64(1604.7415715062534), np.float64(1604.7394039782575), np.float64(1604.7372364502617), np.float64(1604.7350689222658), np.float64(1604.73290139427), np.float64(1604.730733866274), np.float64(1604.7285663382784), np.float64(1604.7263988102825), np.float64(1604.7242312822866), np.float64(1604.7220637542907), np.float64(1604.7198962262948), np.float64(1604.717728698299), np.float64(1604.715561170303), np.float64(1604.7133936423072), np.float64(1604.7112261143116), np.float64(1604.7090585863157), np.float64(1604.7068910583198), np.float64(1604.704723530324), np.float64(1604.702556002328), np.float64(1604.7003884743322), np.float64(1604.6982209463363), np.float64(1604.6960534183404), np.float64(1604.6938858903445), np.float64(1604.6917183623489), np.float64(1604.689550834353), np.float64(1604.687383306357), np.float64(1604.6852157783612), np.float64(1604.6830482503653), np.float64(1604.6808807223695), np.float64(1604.6787131943736), np.float64(1604.6765456663777), np.float64(1604.6743781383818), np.float64(1604.6722106103862), np.float64(1604.6700430823903), np.float64(1604.6678755543944), np.float64(1604.6657080263985), np.float64(1604.6635404984027), np.float64(1604.6613729704068), np.float64(1604.659205442411), np.float64(1604.657037914415), np.float64(1604.6548703864194), np.float64(1604.6527028584235), np.float64(1604.6505353304276), np.float64(1604.6483678024317), np.float64(1604.6462002744358), np.float64(1604.64403274644), np.float64(1604.641865218444), np.float64(1604.6396976904482), np.float64(1604.6375301624523), np.float64(1604.6353626344567), np.float64(1604.6331951064608), np.float64(1604.631027578465), np.float64(1604.628860050469), np.float64(1604.6266925224731), np.float64(1604.6245249944773), np.float64(1604.6223574664814), np.float64(1604.6201899384855), np.float64(1604.6180224104896), np.float64(1604.615854882494), np.float64(1604.613687354498), np.float64(1604.6115198265022), np.float64(1604.6093522985063), np.float64(1604.6071847705105), np.float64(1604.6050172425146), np.float64(1604.6028497145187), np.float64(1604.6006821865228), np.float64(1604.5985146585272), np.float64(1604.5963471305313), np.float64(1604.5941796025354), np.float64(1604.5920120745395), np.float64(1604.5898445465436), np.float64(1604.5876770185478), np.float64(1604.5855094905519), np.float64(1604.583341962556), np.float64(1604.5811744345601), np.float64(1604.5790069065645), np.float64(1604.5768393785686), np.float64(1604.5746718505727), np.float64(1604.5725043225768), np.float64(1604.570336794581), np.float64(1604.568169266585), np.float64(1604.5660017385892), np.float64(1604.5638342105933), np.float64(1604.5616666825974), np.float64(1604.5594991546018), np.float64(1604.557331626606), np.float64(1604.55516409861), np.float64(1604.5529965706141), np.float64(1604.5508290426183), np.float64(1604.5486615146224), np.float64(1604.5464939866265), np.float64(1604.5443264586306), np.float64(1604.542158930635), np.float64(1604.539991402639), np.float64(1604.5378238746432), np.float64(1604.5356563466473), np.float64(1604.5334888186514), np.float64(1604.5313212906556), np.float64(1604.5291537626597), np.float64(1604.5269862346638), np.float64(1604.524818706668), np.float64(1604.5226511786723), np.float64(1604.5204836506764), np.float64(1604.5183161226805), np.float64(1604.5161485946846), np.float64(1604.5139810666888), np.float64(1604.5118135386929), np.float64(1604.509646010697), np.float64(1604.5074784827011), np.float64(1604.5053109547052), np.float64(1604.5031434267096), np.float64(1604.5009758987137), np.float64(1604.4988083707178), np.float64(1604.496640842722), np.float64(1604.494473314726), np.float64(1604.4923057867302), np.float64(1604.4901382587343), np.float64(1604.4879707307384), np.float64(1604.4858032027428), np.float64(1604.483635674747), np.float64(1604.481468146751), np.float64(1604.4793006187551), np.float64(1604.4771330907593), np.float64(1604.4749655627634), np.float64(1604.4727980347675), np.float64(1604.4706305067716), np.float64(1604.4684629787757), np.float64(1604.46629545078), np.float64(1604.4641279227842), np.float64(1604.4619603947883), np.float64(1604.4597928667924), np.float64(1604.4576253387966), np.float64(1604.4554578108007), np.float64(1604.4532902828048), np.float64(1604.451122754809), np.float64(1604.448955226813), np.float64(1604.4467876988174), np.float64(1604.4446201708215), np.float64(1604.4424526428256), np.float64(1604.4402851148297), np.float64(1604.4381175868339), np.float64(1604.435950058838), np.float64(1604.433782530842), np.float64(1604.4316150028462), np.float64(1604.4294474748503), np.float64(1604.4272799468547), np.float64(1604.4251124188588), np.float64(1604.422944890863), np.float64(1604.420777362867), np.float64(1604.4186098348712), np.float64(1604.4164423068753), np.float64(1604.4142747788794), np.float64(1604.4121072508835), np.float64(1604.4099397228879), np.float64(1604.407772194892), np.float64(1604.4056046668961), np.float64(1604.4034371389002), np.float64(1604.4012696109044), np.float64(1604.3991020829085), np.float64(1604.3969345549126), np.float64(1604.3947670269167), np.float64(1604.3925994989208), np.float64(1604.3904319709252), np.float64(1604.3882644429293), np.float64(1604.3860969149334), np.float64(1604.3839293869376), np.float64(1604.3817618589417), np.float64(1604.3795943309458), np.float64(1604.37742680295), np.float64(1604.375259274954), np.float64(1604.3730917469582), np.float64(1604.3709242189625), np.float64(1604.3687566909666), np.float64(1604.3665891629707), np.float64(1604.3644216349749), np.float64(1604.362254106979), np.float64(1604.360086578983), np.float64(1604.3579190509872), np.float64(1604.3557515229913), np.float64(1604.3535839949957), np.float64(1604.3514164669998), np.float64(1604.349248939004), np.float64(1604.347081411008), np.float64(1604.3449138830122), np.float64(1604.3427463550163), np.float64(1604.3405788270204), np.float64(1604.3384112990245), np.float64(1604.3362437710286), np.float64(1604.334076243033), np.float64(1604.3319087150371), np.float64(1604.3297411870412), np.float64(1604.3275736590454), np.float64(1604.3254061310495), np.float64(1604.3232386030536), np.float64(1604.3210710750577), np.float64(1604.3189035470618), np.float64(1604.316736019066), np.float64(1604.3145684910703), np.float64(1604.3124009630744), np.float64(1604.3102334350785), np.float64(1604.3080659070827), np.float64(1604.3058983790868), np.float64(1604.303730851091), np.float64(1604.301563323095), np.float64(1604.2993957950991), np.float64(1604.2972282671035), np.float64(1604.2950607391076), np.float64(1604.2928932111117), np.float64(1604.2907256831159), np.float64(1604.28855815512), np.float64(1604.286390627124), np.float64(1604.2842230991282), np.float64(1604.2820555711323), np.float64(1604.2798880431365), np.float64(1604.2777205151408), np.float64(1604.275552987145), np.float64(1604.273385459149), np.float64(1604.2712179311532), np.float64(1604.2690504031573), np.float64(1604.2668828751614), np.float64(1604.2647153471655), np.float64(1604.2625478191696), np.float64(1604.2603802911738), np.float64(1604.258212763178), np.float64(1604.2560452351822), np.float64(1604.2538777071863), np.float64(1604.2517101791905), np.float64(1604.2495426511946), np.float64(1604.2473751231987), np.float64(1604.2452075952028), np.float64(1604.243040067207), np.float64(1604.2408725392113), np.float64(1604.2387050112154), np.float64(1604.2365374832195), np.float64(1604.2343699552237), np.float64(1604.2322024272278), np.float64(1604.230034899232), np.float64(1604.227867371236), np.float64(1604.2256998432401), np.float64(1604.2235323152443), np.float64(1604.2213647872486), np.float64(1604.2191972592527), np.float64(1604.2170297312568), np.float64(1604.214862203261), np.float64(1604.212694675265), np.float64(1604.2105271472692), np.float64(1604.2083596192733), np.float64(1604.2061920912774), np.float64(1604.2040245632816), np.float64(1604.201857035286), np.float64(1604.19968950729), np.float64(1604.1975219792942), np.float64(1604.1953544512983), np.float64(1604.1931869233024), np.float64(1604.1910193953065), np.float64(1604.1888518673106), np.float64(1604.1866843393148), np.float64(1604.184516811319), np.float64(1604.1823492833232), np.float64(1604.1801817553273), np.float64(1604.1780142273315), np.float64(1604.1758466993356), np.float64(1604.1736791713397), np.float64(1604.1715116433438), np.float64(1604.169344115348), np.float64(1604.167176587352), np.float64(1604.1650090593564), np.float64(1604.1628415313605), np.float64(1604.1606740033646), np.float64(1604.1585064753688), np.float64(1604.156338947373), np.float64(1604.154171419377), np.float64(1604.1520038913811), np.float64(1604.1498363633852), np.float64(1604.1476688353894), np.float64(1604.1455013073937), np.float64(1604.1433337793978), np.float64(1604.141166251402), np.float64(1604.138998723406), np.float64(1604.1368311954102), np.float64(1604.1346636674143), np.float64(1604.1324961394184), np.float64(1604.1303286114226), np.float64(1604.128161083427), np.float64(1604.125993555431), np.float64(1604.1238260274351), np.float64(1604.1216584994393), np.float64(1604.1194909714434), np.float64(1604.1173234434475), np.float64(1604.1151559154516), np.float64(1604.1129883874557), np.float64(1604.1108208594599), np.float64(1604.1086533314642), np.float64(1604.1064858034683), np.float64(1604.1043182754725), np.float64(1604.1021507474766), np.float64(1604.0999832194807), np.float64(1604.0978156914848), np.float64(1604.095648163489), np.float64(1604.093480635493), np.float64(1604.0913131074972), np.float64(1604.0891455795015), np.float64(1604.0869780515056), np.float64(1604.0848105235098), np.float64(1604.0826429955139), np.float64(1604.080475467518), np.float64(1604.0783079395221), np.float64(1604.0761404115262), np.float64(1604.0739728835304), np.float64(1604.0718053555347), np.float64(1604.0696378275388), np.float64(1604.067470299543), np.float64(1604.065302771547), np.float64(1604.0631352435512), np.float64(1604.0609677155553), np.float64(1604.0588001875594), np.float64(1604.0566326595635), np.float64(1604.0544651315677), np.float64(1604.052297603572), np.float64(1604.0501300755761), np.float64(1604.0479625475803), np.float64(1604.0457950195844), np.float64(1604.0436274915885), np.float64(1604.0414599635926), np.float64(1604.0392924355967), np.float64(1604.0371249076009), np.float64(1604.034957379605), np.float64(1604.0327898516093), np.float64(1604.0306223236134), np.float64(1604.0284547956176), np.float64(1604.0262872676217), np.float64(1604.0241197396258), np.float64(1604.02195221163), np.float64(1604.019784683634), np.float64(1604.0176171556382), np.float64(1604.0154496276425), np.float64(1604.0132820996466), np.float64(1604.0111145716508), np.float64(1604.0089470436549), np.float64(1604.006779515659), np.float64(1604.004611987663), np.float64(1604.0024444596672), np.float64(1604.0002769316714), np.float64(1603.9981094036755), np.float64(1603.9959418756798), np.float64(1603.993774347684), np.float64(1603.991606819688), np.float64(1603.9894392916922), np.float64(1603.9872717636963), np.float64(1603.9851042357004), np.float64(1603.9829367077045), np.float64(1603.9807691797087), np.float64(1603.9786016517128), np.float64(1603.9764341237171), np.float64(1603.9742665957212), np.float64(1603.9720990677254), np.float64(1603.9699315397295), np.float64(1603.9677640117336), np.float64(1603.9655964837377), np.float64(1603.9634289557418), np.float64(1603.961261427746), np.float64(1603.9590938997503), np.float64(1603.9569263717544), np.float64(1603.9547588437586), np.float64(1603.9525913157627), np.float64(1603.9504237877668), np.float64(1603.948256259771), np.float64(1603.946088731775), np.float64(1603.9439212037792), np.float64(1603.9417536757833), np.float64(1603.9395861477876), np.float64(1603.9374186197917), np.float64(1603.9352510917959), np.float64(1603.9330835638), np.float64(1603.930916035804), np.float64(1603.9287485078082), np.float64(1603.9265809798123), np.float64(1603.9244134518165), np.float64(1603.9222459238206), np.float64(1603.920078395825), np.float64(1603.917910867829), np.float64(1603.9157433398332), np.float64(1603.9135758118373), np.float64(1603.9114082838414), np.float64(1603.9092407558455), np.float64(1603.9070732278497), np.float64(1603.9049056998538), np.float64(1603.9027381718581), np.float64(1603.9005706438622), np.float64(1603.8984031158664), np.float64(1603.8962355878705), np.float64(1603.8940680598746), np.float64(1603.8919005318787), np.float64(1603.8897330038828), np.float64(1603.887565475887), np.float64(1603.885397947891), np.float64(1603.8832304198954), np.float64(1603.8810628918995), np.float64(1603.8788953639037), np.float64(1603.8767278359078), np.float64(1603.874560307912), np.float64(1603.872392779916), np.float64(1603.8702252519201), np.float64(1603.8680577239243), np.float64(1603.8658901959284), np.float64(1603.8637226679327), np.float64(1603.8615551399369), np.float64(1603.859387611941), np.float64(1603.857220083945), np.float64(1603.8550525559492), np.float64(1603.8528850279533), np.float64(1603.8507174999575), np.float64(1603.8485499719616), np.float64(1603.846382443966), np.float64(1603.84421491597), np.float64(1603.8420473879742), np.float64(1603.8398798599783), np.float64(1603.8377123319824), np.float64(1603.8355448039865), np.float64(1603.8333772759906), np.float64(1603.8312097479948), np.float64(1603.8290422199989), np.float64(1603.8268746920032), np.float64(1603.8247071640074), np.float64(1603.8225396360115), np.float64(1603.8203721080156), np.float64(1603.8182045800197), np.float64(1603.8160370520238), np.float64(1603.813869524028), np.float64(1603.811701996032), np.float64(1603.8095344680362), np.float64(1603.8073669400405), np.float64(1603.8051994120447), np.float64(1603.8030318840488), np.float64(1603.800864356053), np.float64(1603.798696828057), np.float64(1603.7965293000611), np.float64(1603.7943617720653), np.float64(1603.7921942440694), np.float64(1603.7900267160737), np.float64(1603.7878591880778), np.float64(1603.785691660082), np.float64(1603.783524132086), np.float64(1603.7813566040902), np.float64(1603.7791890760943), np.float64(1603.7770215480984), np.float64(1603.7748540201026), np.float64(1603.7726864921067), np.float64(1603.770518964111), np.float64(1603.7683514361152), np.float64(1603.7661839081193), np.float64(1603.7640163801234), np.float64(1603.7618488521275), np.float64(1603.7596813241316), np.float64(1603.7575137961358), np.float64(1603.7553462681399), np.float64(1603.753178740144), np.float64(1603.7510112121483), np.float64(1603.7488436841525), np.float64(1603.7466761561566), np.float64(1603.7445086281607), np.float64(1603.7423411001648), np.float64(1603.740173572169), np.float64(1603.738006044173), np.float64(1603.7358385161772), np.float64(1603.7336709881815), np.float64(1603.7315034601856), np.float64(1603.7293359321898), np.float64(1603.727168404194), np.float64(1603.725000876198), np.float64(1603.7228333482021), np.float64(1603.7206658202062), np.float64(1603.7184982922104), np.float64(1603.7163307642145), np.float64(1603.7141632362188), np.float64(1603.711995708223), np.float64(1603.709828180227), np.float64(1603.7076606522312), np.float64(1603.7054931242353), np.float64(1603.7033255962394), np.float64(1603.7011580682436), np.float64(1603.6989905402477), np.float64(1603.6968230122518), np.float64(1603.6946554842561), np.float64(1603.6924879562603), np.float64(1603.6903204282644), np.float64(1603.6881529002685), np.float64(1603.6859853722726), np.float64(1603.6838178442767), np.float64(1603.6816503162809), np.float64(1603.679482788285), np.float64(1603.677315260289), np.float64(1603.6751477322935), np.float64(1603.6729802042976), np.float64(1603.6708126763017), np.float64(1603.6686451483058), np.float64(1603.66647762031), np.float64(1603.664310092314), np.float64(1603.6621425643182), np.float64(1603.6599750363223), np.float64(1603.6578075083266), np.float64(1603.6556399803308), np.float64(1603.6534724523349), np.float64(1603.651304924339), np.float64(1603.6491373963431), np.float64(1603.6469698683472), np.float64(1603.6448023403514), np.float64(1603.6426348123555), np.float64(1603.6404672843596), np.float64(1603.638299756364), np.float64(1603.636132228368), np.float64(1603.6339647003722), np.float64(1603.6317971723763), np.float64(1603.6296296443804), np.float64(1603.6274621163845), np.float64(1603.6252945883887), np.float64(1603.6231270603928), np.float64(1603.620959532397), np.float64(1603.6187920044013), np.float64(1603.6166244764054), np.float64(1603.6144569484095), np.float64(1603.6122894204136), np.float64(1603.6101218924177), np.float64(1603.6079543644219), np.float64(1603.605786836426), np.float64(1603.60361930843), np.float64(1603.6014517804344), np.float64(1603.5992842524386), np.float64(1603.5971167244427), np.float64(1603.5949491964468), np.float64(1603.592781668451), np.float64(1603.590614140455), np.float64(1603.5884466124592), np.float64(1603.5862790844633), np.float64(1603.5841115564674), np.float64(1603.5819440284718), np.float64(1603.5797765004759), np.float64(1603.57760897248), np.float64(1603.575441444484), np.float64(1603.5732739164882), np.float64(1603.5711063884924), np.float64(1603.5689388604965), np.float64(1603.5667713325006), np.float64(1603.5646038045047), np.float64(1603.562436276509), np.float64(1603.5602687485132), np.float64(1603.5581012205173), np.float64(1603.5559336925214), np.float64(1603.5537661645255), np.float64(1603.5515986365297), np.float64(1603.5494311085338), np.float64(1603.547263580538), np.float64(1603.5450960525422), np.float64(1603.5429285245464), np.float64(1603.5407609965505), np.float64(1603.5385934685546), np.float64(1603.5364259405587), np.float64(1603.5342584125628), np.float64(1603.532090884567), np.float64(1603.529923356571), np.float64(1603.5277558285752), np.float64(1603.5255883005796), np.float64(1603.5234207725837), np.float64(1603.5212532445878), np.float64(1603.519085716592), np.float64(1603.516918188596), np.float64(1603.5147506606002), np.float64(1603.5125831326043), np.float64(1603.5104156046084), np.float64(1603.5082480766125), np.float64(1603.5060805486169), np.float64(1603.503913020621), np.float64(1603.501745492625), np.float64(1603.4995779646292), np.float64(1603.4974104366333), np.float64(1603.4952429086375), np.float64(1603.4930753806416), np.float64(1603.4909078526457), np.float64(1603.48874032465), np.float64(1603.4865727966542), np.float64(1603.4844052686583), np.float64(1603.4822377406624), np.float64(1603.4800702126665), np.float64(1603.4779026846707), np.float64(1603.4757351566748), np.float64(1603.473567628679), np.float64(1603.471400100683), np.float64(1603.4692325726874), np.float64(1603.4670650446915), np.float64(1603.4648975166956), np.float64(1603.4627299886997), np.float64(1603.4605624607038), np.float64(1603.458394932708), np.float64(1603.456227404712), np.float64(1603.4540598767162), np.float64(1603.4518923487203), np.float64(1603.4497248207247), np.float64(1603.4475572927288), np.float64(1603.445389764733), np.float64(1603.443222236737), np.float64(1603.4410547087411), np.float64(1603.4388871807453), np.float64(1603.4367196527494), np.float64(1603.4345521247535), np.float64(1603.4323845967579), np.float64(1603.430217068762), np.float64(1603.428049540766), np.float64(1603.4258820127702), np.float64(1603.4237144847743), np.float64(1603.4215469567785), np.float64(1603.4193794287826), np.float64(1603.4172119007867), np.float64(1603.4150443727908), np.float64(1603.4128768447952), np.float64(1603.4107093167993), np.float64(1603.4085417888034), np.float64(1603.4063742608075), np.float64(1603.4042067328116), np.float64(1603.4020392048158), np.float64(1603.3998716768199), np.float64(1603.397704148824), np.float64(1603.3955366208281), np.float64(1603.3933690928325), np.float64(1603.3912015648366), np.float64(1603.3890340368407), np.float64(1603.3868665088448), np.float64(1603.384698980849), np.float64(1603.382531452853), np.float64(1603.3803639248572), np.float64(1603.3781963968613), np.float64(1603.3760288688657), np.float64(1603.3738613408698), np.float64(1603.371693812874), np.float64(1603.369526284878), np.float64(1603.3673587568821), np.float64(1603.3651912288863), np.float64(1603.3630237008904), np.float64(1603.3608561728945), np.float64(1603.3586886448986), np.float64(1603.356521116903), np.float64(1603.354353588907), np.float64(1603.3521860609112), np.float64(1603.3500185329153), np.float64(1603.3478510049194), np.float64(1603.3456834769236), np.float64(1603.3435159489277), np.float64(1603.3413484209318), np.float64(1603.339180892936), np.float64(1603.3370133649403), np.float64(1603.3348458369444), np.float64(1603.3326783089485), np.float64(1603.3305107809526), np.float64(1603.3283432529568), np.float64(1603.3261757249609), np.float64(1603.324008196965), np.float64(1603.3218406689691), np.float64(1603.3196731409735), np.float64(1603.3175056129776), np.float64(1603.3153380849817), np.float64(1603.3131705569858), np.float64(1603.31100302899), np.float64(1603.308835500994), np.float64(1603.3066679729982), np.float64(1603.3045004450023), np.float64(1603.3023329170064), np.float64(1603.3001653890108), np.float64(1603.297997861015), np.float64(1603.295830333019), np.float64(1603.2936628050231), np.float64(1603.2914952770273), np.float64(1603.2893277490314), np.float64(1603.2871602210355), np.float64(1603.2849926930396), np.float64(1603.2828251650437), np.float64(1603.280657637048), np.float64(1603.2784901090522), np.float64(1603.2763225810563), np.float64(1603.2741550530604), np.float64(1603.2719875250646), np.float64(1603.2698199970687), np.float64(1603.2676524690728), np.float64(1603.265484941077), np.float64(1603.2633174130813), np.float64(1603.2611498850854), np.float64(1603.2589823570895), np.float64(1603.2568148290936), np.float64(1603.2546473010977), np.float64(1603.2524797731019), np.float64(1603.250312245106), np.float64(1603.24814471711), np.float64(1603.2459771891142), np.float64(1603.2438096611186), np.float64(1603.2416421331227), np.float64(1603.2394746051268), np.float64(1603.237307077131), np.float64(1603.235139549135), np.float64(1603.2329720211392), np.float64(1603.2308044931433), np.float64(1603.2286369651474), np.float64(1603.2264694371515), np.float64(1603.2243019091559), np.float64(1603.22213438116), np.float64(1603.2199668531641), np.float64(1603.2177993251682), np.float64(1603.2156317971724), np.float64(1603.2134642691765), np.float64(1603.2112967411806), np.float64(1603.2091292131847), np.float64(1603.206961685189), np.float64(1603.2047941571932), np.float64(1603.2026266291973), np.float64(1603.2004591012014), np.float64(1603.1982915732056), np.float64(1603.1961240452097), np.float64(1603.1939565172138), np.float64(1603.191788989218), np.float64(1603.189621461222), np.float64(1603.1874539332264), np.float64(1603.1852864052305), np.float64(1603.1831188772346), np.float64(1603.1809513492387), np.float64(1603.1787838212429), np.float64(1603.176616293247), np.float64(1603.174448765251), np.float64(1603.1722812372552), np.float64(1603.1701137092593), np.float64(1603.1679461812637), np.float64(1603.1657786532678), np.float64(1603.163611125272), np.float64(1603.161443597276), np.float64(1603.1592760692802), np.float64(1603.1571085412843), np.float64(1603.1549410132884), np.float64(1603.1527734852925), np.float64(1603.1506059572969), np.float64(1603.148438429301), np.float64(1603.1462709013051), np.float64(1603.1441033733092), np.float64(1603.1419358453134), np.float64(1603.1397683173175), np.float64(1603.1376007893216), np.float64(1603.1354332613257), np.float64(1603.1332657333298), np.float64(1603.1310982053342), np.float64(1603.1289306773383), np.float64(1603.1267631493424), np.float64(1603.1245956213465), np.float64(1603.1224280933507), np.float64(1603.1202605653548), np.float64(1603.118093037359), np.float64(1603.115925509363), np.float64(1603.1137579813671), np.float64(1603.1115904533715), np.float64(1603.1094229253756), np.float64(1603.1072553973797), np.float64(1603.1050878693839), np.float64(1603.102920341388), np.float64(1603.100752813392), np.float64(1603.0985852853962), np.float64(1603.0964177574003), np.float64(1603.0942502294047), np.float64(1603.0920827014088), np.float64(1603.089915173413), np.float64(1603.087747645417), np.float64(1603.0855801174212), np.float64(1603.0834125894253), np.float64(1603.0812450614294), np.float64(1603.0790775334335), np.float64(1603.0769100054376), np.float64(1603.074742477442), np.float64(1603.072574949446), np.float64(1603.0704074214502), np.float64(1603.0682398934543), np.float64(1603.0660723654585), np.float64(1603.0639048374626), np.float64(1603.0617373094667), np.float64(1603.0595697814708), np.float64(1603.057402253475), np.float64(1603.0552347254793), np.float64(1603.0530671974834), np.float64(1603.0508996694875), np.float64(1603.0487321414917), np.float64(1603.0465646134958), np.float64(1603.0443970855), np.float64(1603.042229557504), np.float64(1603.0400620295081), np.float64(1603.0378945015125), np.float64(1603.0357269735166), np.float64(1603.0335594455207), np.float64(1603.0313919175248), np.float64(1603.029224389529), np.float64(1603.027056861533), np.float64(1603.0248893335372), np.float64(1603.0227218055413), np.float64(1603.0205542775454), np.float64(1603.0183867495498), np.float64(1603.016219221554), np.float64(1603.014051693558), np.float64(1603.0118841655622), np.float64(1603.0097166375663), np.float64(1603.0075491095704), np.float64(1603.0053815815745), np.float64(1603.0032140535786), np.float64(1603.0010465255828), np.float64(1602.998878997587), np.float64(1602.9967114695912), np.float64(1602.9945439415953), np.float64(1602.9923764135995), np.float64(1602.9902088856036), np.float64(1602.9880413576077), np.float64(1602.9858738296118), np.float64(1602.983706301616), np.float64(1602.9815387736203), np.float64(1602.9793712456244), np.float64(1602.9772037176285), np.float64(1602.9750361896326), np.float64(1602.9728686616368), np.float64(1602.970701133641), np.float64(1602.968533605645), np.float64(1602.9663660776491), np.float64(1602.9641985496532), np.float64(1602.9620310216576), np.float64(1602.9598634936617), np.float64(1602.9576959656658), np.float64(1602.95552843767), np.float64(1602.953360909674), np.float64(1602.9511933816782), np.float64(1602.9490258536823), np.float64(1602.9468583256864), np.float64(1602.9446907976906), np.float64(1602.942523269695), np.float64(1602.940355741699), np.float64(1602.9381882137031), np.float64(1602.9360206857073), np.float64(1602.9338531577114), np.float64(1602.9316856297155), np.float64(1602.9295181017196), np.float64(1602.9273505737237), np.float64(1602.925183045728), np.float64(1602.9230155177322), np.float64(1602.9208479897363), np.float64(1602.9186804617405), np.float64(1602.9165129337446), np.float64(1602.9143454057487), np.float64(1602.9121778777528), np.float64(1602.910010349757), np.float64(1602.907842821761), np.float64(1602.9056752937654), np.float64(1602.9035077657695), np.float64(1602.9013402377736), np.float64(1602.8991727097778), np.float64(1602.8970051817819), np.float64(1602.894837653786), np.float64(1602.8926701257901), np.float64(1602.8905025977942), np.float64(1602.8883350697984), np.float64(1602.8861675418027), np.float64(1602.8840000138068), np.float64(1602.881832485811), np.float64(1602.879664957815), np.float64(1602.8774974298192), np.float64(1602.8753299018233), np.float64(1602.8731623738274), np.float64(1602.8709948458315), np.float64(1602.868827317836), np.float64(1602.86665978984), np.float64(1602.8644922618441), np.float64(1602.8623247338483), np.float64(1602.8601572058524), np.float64(1602.8579896778565), np.float64(1602.8558221498606), np.float64(1602.8536546218647), np.float64(1602.8514870938689), np.float64(1602.8493195658732), np.float64(1602.8471520378773), np.float64(1602.8449845098814), np.float64(1602.8428169818856), np.float64(1602.8406494538897), np.float64(1602.8384819258938), np.float64(1602.836314397898), np.float64(1602.834146869902), np.float64(1602.8319793419062), np.float64(1602.8298118139105), np.float64(1602.8276442859146), np.float64(1602.8254767579188), np.float64(1602.8233092299229), np.float64(1602.821141701927), np.float64(1602.818974173931), np.float64(1602.8168066459352), np.float64(1602.8146391179394), np.float64(1602.8124715899435), np.float64(1602.8103040619478), np.float64(1602.808136533952), np.float64(1602.805969005956), np.float64(1602.8038014779602), np.float64(1602.8016339499643), np.float64(1602.7994664219684), np.float64(1602.7972988939725), np.float64(1602.7951313659767), np.float64(1602.792963837981), np.float64(1602.7907963099851), np.float64(1602.7886287819892), np.float64(1602.7864612539934), np.float64(1602.7842937259975), np.float64(1602.7821261980016), np.float64(1602.7799586700057), np.float64(1602.7777911420098), np.float64(1602.775623614014), np.float64(1602.7734560860183), np.float64(1602.7712885580224), np.float64(1602.7691210300266), np.float64(1602.7669535020307), np.float64(1602.7647859740348), np.float64(1602.762618446039), np.float64(1602.760450918043), np.float64(1602.7582833900472), np.float64(1602.7561158620513), np.float64(1602.7539483340556), np.float64(1602.7517808060597), np.float64(1602.7496132780639), np.float64(1602.747445750068), np.float64(1602.745278222072), np.float64(1602.7431106940762), np.float64(1602.7409431660803), np.float64(1602.7387756380845), np.float64(1602.7366081100888), np.float64(1602.734440582093), np.float64(1602.732273054097), np.float64(1602.7301055261012), np.float64(1602.7279379981053), np.float64(1602.7257704701094), np.float64(1602.7236029421135), np.float64(1602.7214354141176), np.float64(1602.7192678861218), np.float64(1602.7171003581261), np.float64(1602.7149328301302), np.float64(1602.7127653021344), np.float64(1602.7105977741385), np.float64(1602.7084302461426), np.float64(1602.7062627181467), np.float64(1602.7040951901508), np.float64(1602.701927662155), np.float64(1602.699760134159), np.float64(1602.6975926061634), np.float64(1602.6954250781675), np.float64(1602.6932575501717), np.float64(1602.6910900221758), np.float64(1602.68892249418), np.float64(1602.686754966184), np.float64(1602.6845874381881), np.float64(1602.6824199101923), np.float64(1602.6802523821966), np.float64(1602.6780848542007), np.float64(1602.6759173262049), np.float64(1602.673749798209), np.float64(1602.671582270213), np.float64(1602.6694147422172), np.float64(1602.6672472142213), np.float64(1602.6650796862255), np.float64(1602.6629121582296), np.float64(1602.660744630234), np.float64(1602.658577102238), np.float64(1602.6564095742422), np.float64(1602.6542420462463), np.float64(1602.6520745182504), np.float64(1602.6499069902545), np.float64(1602.6477394622586), np.float64(1602.6455719342628), np.float64(1602.6434044062669), np.float64(1602.6412368782712), np.float64(1602.6390693502753), np.float64(1602.6369018222795), np.float64(1602.6347342942836), np.float64(1602.6325667662877), np.float64(1602.6303992382918), np.float64(1602.628231710296), np.float64(1602.6260641823), np.float64(1602.6238966543044), np.float64(1602.6217291263085), np.float64(1602.6195615983127), np.float64(1602.6173940703168), np.float64(1602.615226542321), np.float64(1602.613059014325), np.float64(1602.6108914863291), np.float64(1602.6087239583333), np.float64(1602.6065564303374), np.float64(1602.6043889023417), np.float64(1602.6022213743458), np.float64(1602.60005384635), np.float64(1602.597886318354), np.float64(1602.5957187903582), np.float64(1602.5935512623623), np.float64(1602.5913837343664), np.float64(1602.5892162063706), np.float64(1602.5870486783747), np.float64(1602.584881150379), np.float64(1602.5827136223832), np.float64(1602.5805460943873), np.float64(1602.5783785663914), np.float64(1602.5762110383955), np.float64(1602.5740435103996), np.float64(1602.5718759824038), np.float64(1602.5697084544079), np.float64(1602.5675409264122), np.float64(1602.5653733984163), np.float64(1602.5632058704205), np.float64(1602.5610383424246), np.float64(1602.5588708144287), np.float64(1602.5567032864328), np.float64(1602.554535758437), np.float64(1602.552368230441), np.float64(1602.5502007024452), np.float64(1602.5480331744495), np.float64(1602.5458656464536), np.float64(1602.5436981184578), np.float64(1602.541530590462), np.float64(1602.539363062466), np.float64(1602.5371955344701), np.float64(1602.5350280064742), np.float64(1602.5328604784784), np.float64(1602.5306929504825), np.float64(1602.5285254224868), np.float64(1602.526357894491), np.float64(1602.524190366495), np.float64(1602.5220228384992), np.float64(1602.5198553105033), np.float64(1602.5176877825074), np.float64(1602.5155202545116), np.float64(1602.5133527265157), np.float64(1602.51118519852), np.float64(1602.5090176705241), np.float64(1602.5068501425283), np.float64(1602.5046826145324), np.float64(1602.5025150865365), np.float64(1602.5003475585406), np.float64(1602.4981800305447), np.float64(1602.4960125025489), np.float64(1602.493844974553), np.float64(1602.4916774465573), np.float64(1602.4895099185615), np.float64(1602.4873423905656), np.float64(1602.4851748625697), np.float64(1602.4830073345738), np.float64(1602.480839806578), np.float64(1602.478672278582), np.float64(1602.4765047505862), np.float64(1602.4743372225903), np.float64(1602.4721696945946), np.float64(1602.4700021665988), np.float64(1602.4678346386029), np.float64(1602.465667110607), np.float64(1602.4634995826111), np.float64(1602.4613320546152), np.float64(1602.4591645266194), np.float64(1602.4569969986235), np.float64(1602.4548294706278), np.float64(1602.452661942632), np.float64(1602.450494414636), np.float64(1602.4483268866402), np.float64(1602.4461593586443), np.float64(1602.4439918306484), np.float64(1602.4418243026525), np.float64(1602.4396567746567), np.float64(1602.4374892466608), np.float64(1602.4353217186651), np.float64(1602.4331541906693), np.float64(1602.4309866626734), np.float64(1602.4288191346775), np.float64(1602.4266516066816), np.float64(1602.4244840786857), np.float64(1602.4223165506899), np.float64(1602.420149022694), np.float64(1602.417981494698), np.float64(1602.4158139667024), np.float64(1602.4136464387066), np.float64(1602.4114789107107), np.float64(1602.4093113827148), np.float64(1602.407143854719), np.float64(1602.404976326723), np.float64(1602.4028087987272), np.float64(1602.4006412707313), np.float64(1602.3984737427356), np.float64(1602.3963062147398), np.float64(1602.3941386867439), np.float64(1602.391971158748), np.float64(1602.389803630752), np.float64(1602.3876361027562), np.float64(1602.3854685747604), np.float64(1602.3833010467645), np.float64(1602.3811335187686), np.float64(1602.378965990773), np.float64(1602.376798462777), np.float64(1602.3746309347812), np.float64(1602.3724634067853), np.float64(1602.3702958787894), np.float64(1602.3681283507935), np.float64(1602.3659608227977), np.float64(1602.3637932948018), np.float64(1602.361625766806), np.float64(1602.3594582388102), np.float64(1602.3572907108144), np.float64(1602.3551231828185), np.float64(1602.3529556548226), np.float64(1602.3507881268267), np.float64(1602.3486205988308), np.float64(1602.346453070835), np.float64(1602.344285542839), np.float64(1602.3421180148434), np.float64(1602.3399504868476), np.float64(1602.3377829588517), np.float64(1602.3356154308558), np.float64(1602.33344790286), np.float64(1602.331280374864), np.float64(1602.3291128468682), np.float64(1602.3269453188723), np.float64(1602.3247777908764), np.float64(1602.3226102628807), np.float64(1602.3204427348849), np.float64(1602.318275206889), np.float64(1602.316107678893), np.float64(1602.3139401508972), np.float64(1602.3117726229013), np.float64(1602.3096050949055), np.float64(1602.3074375669096), np.float64(1602.3052700389137), np.float64(1602.303102510918), np.float64(1602.3009349829222), np.float64(1602.2987674549263), np.float64(1602.2965999269304), np.float64(1602.2944323989345), np.float64(1602.2922648709387), np.float64(1602.2900973429428), np.float64(1602.287929814947), np.float64(1602.2857622869512), np.float64(1602.2835947589554), np.float64(1602.2814272309595), np.float64(1602.2792597029636), np.float64(1602.2770921749677), np.float64(1602.2749246469718), np.float64(1602.272757118976), np.float64(1602.27058959098), np.float64(1602.2684220629842), np.float64(1602.2662545349885), np.float64(1602.2640870069927), np.float64(1602.2619194789968), np.float64(1602.259751951001), np.float64(1602.257584423005), np.float64(1602.2554168950091), np.float64(1602.2532493670133), np.float64(1602.2510818390174), np.float64(1602.2489143110215), np.float64(1602.2467467830259), np.float64(1602.24457925503), np.float64(1602.242411727034), np.float64(1602.2402441990382), np.float64(1602.2380766710423), np.float64(1602.2359091430465), np.float64(1602.2337416150506), np.float64(1602.2315740870547), np.float64(1602.229406559059), np.float64(1602.2272390310632), np.float64(1602.2250715030673), np.float64(1602.2229039750714), np.float64(1602.2207364470755), np.float64(1602.2185689190796), np.float64(1602.2164013910838), np.float64(1602.2142338630879), np.float64(1602.212066335092), np.float64(1602.2098988070964), np.float64(1602.2077312791005), np.float64(1602.2055637511046), np.float64(1602.2033962231087), np.float64(1602.2012286951128), np.float64(1602.199061167117), np.float64(1602.196893639121), np.float64(1602.1947261111252), np.float64(1602.1925585831293), np.float64(1602.1903910551337), np.float64(1602.1882235271378), np.float64(1602.186055999142), np.float64(1602.183888471146), np.float64(1602.1817209431501), np.float64(1602.1795534151543), np.float64(1602.1773858871584), np.float64(1602.1752183591625), np.float64(1602.1730508311668), np.float64(1602.170883303171), np.float64(1602.168715775175), np.float64(1602.1665482471792), np.float64(1602.1643807191833), np.float64(1602.1622131911874), np.float64(1602.1600456631916), np.float64(1602.1578781351957), np.float64(1602.1557106071998), np.float64(1602.1535430792042), np.float64(1602.1513755512083), np.float64(1602.1492080232124), np.float64(1602.1470404952165), np.float64(1602.1448729672206), np.float64(1602.1427054392248), np.float64(1602.1405379112289), np.float64(1602.138370383233), np.float64(1602.1362028552371), np.float64(1602.1340353272415), np.float64(1602.1318677992456), np.float64(1602.1297002712497), np.float64(1602.1275327432538), np.float64(1602.125365215258), np.float64(1602.123197687262), np.float64(1602.1210301592662), np.float64(1602.1188626312703), np.float64(1602.1166951032747), np.float64(1602.1145275752788), np.float64(1602.112360047283), np.float64(1602.110192519287), np.float64(1602.1080249912911), np.float64(1602.1058574632953), np.float64(1602.1036899352994), np.float64(1602.1015224073035), np.float64(1602.0993548793076), np.float64(1602.097187351312), np.float64(1602.095019823316), np.float64(1602.0928522953202), np.float64(1602.0906847673243), np.float64(1602.0885172393284), np.float64(1602.0863497113326), np.float64(1602.0841821833367), np.float64(1602.0820146553408), np.float64(1602.079847127345), np.float64(1602.0776795993493), np.float64(1602.0755120713534), np.float64(1602.0733445433575), np.float64(1602.0711770153616), np.float64(1602.0690094873657), np.float64(1602.0668419593699), np.float64(1602.064674431374), np.float64(1602.062506903378), np.float64(1602.0603393753822), np.float64(1602.0581718473866), np.float64(1602.0560043193907), np.float64(1602.0538367913948), np.float64(1602.051669263399), np.float64(1602.049501735403), np.float64(1602.0473342074072), np.float64(1602.0451666794113), np.float64(1602.0429991514154), np.float64(1602.0408316234198), np.float64(1602.0386640954239), np.float64(1602.036496567428), np.float64(1602.0343290394321), np.float64(1602.0321615114362), np.float64(1602.0299939834404), np.float64(1602.0278264554445), np.float64(1602.0256589274486), np.float64(1602.0234913994527), np.float64(1602.021323871457), np.float64(1602.0191563434612), np.float64(1602.0169888154653), np.float64(1602.0148212874694), np.float64(1602.0126537594736), np.float64(1602.0104862314777), np.float64(1602.0083187034818), np.float64(1602.006151175486), np.float64(1602.00398364749), np.float64(1602.0018161194944), np.float64(1601.9996485914985), np.float64(1601.9974810635026), np.float64(1601.9953135355067), np.float64(1601.9931460075109), np.float64(1601.990978479515), np.float64(1601.988810951519), np.float64(1601.9866434235232), np.float64(1601.9844758955276), np.float64(1601.9823083675317), np.float64(1601.9801408395358), np.float64(1601.97797331154), np.float64(1601.975805783544), np.float64(1601.9736382555482), np.float64(1601.9714707275523), np.float64(1601.9693031995564), np.float64(1601.9671356715605), np.float64(1601.9649681435649), np.float64(1601.962800615569), np.float64(1601.9606330875731), np.float64(1601.9584655595772), np.float64(1601.9562980315814), np.float64(1601.9541305035855), np.float64(1601.9519629755896), np.float64(1601.9497954475937), np.float64(1601.9476279195978), np.float64(1601.9454603916022), np.float64(1601.9432928636063), np.float64(1601.9411253356104), np.float64(1601.9389578076145), np.float64(1601.9367902796187), np.float64(1601.9346227516228), np.float64(1601.932455223627), np.float64(1601.930287695631), np.float64(1601.9281201676354), np.float64(1601.9259526396395), np.float64(1601.9237851116436), np.float64(1601.9216175836477), np.float64(1601.9194500556519), np.float64(1601.917282527656), np.float64(1601.91511499966), np.float64(1601.9129474716642), np.float64(1601.9107799436683), np.float64(1601.9086124156727), np.float64(1601.9064448876768), np.float64(1601.904277359681), np.float64(1601.902109831685), np.float64(1601.8999423036892), np.float64(1601.8977747756933), np.float64(1601.8956072476974), np.float64(1601.8934397197015), np.float64(1601.8912721917056), np.float64(1601.88910466371), np.float64(1601.886937135714), np.float64(1601.8847696077182), np.float64(1601.8826020797223), np.float64(1601.8804345517265), np.float64(1601.8782670237306), np.float64(1601.8760994957347), np.float64(1601.8739319677388), np.float64(1601.8717644397432), np.float64(1601.8695969117473), np.float64(1601.8674293837514), np.float64(1601.8652618557555), np.float64(1601.8630943277597), np.float64(1601.8609267997638), np.float64(1601.858759271768), np.float64(1601.856591743772), np.float64(1601.8544242157761), np.float64(1601.8522566877805), np.float64(1601.8500891597846), np.float64(1601.8479216317887), np.float64(1601.8457541037928), np.float64(1601.843586575797), np.float64(1601.841419047801), np.float64(1601.8392515198052), np.float64(1601.8370839918093), np.float64(1601.8349164638134), np.float64(1601.8327489358178), np.float64(1601.830581407822), np.float64(1601.828413879826), np.float64(1601.8262463518302), np.float64(1601.8240788238343), np.float64(1601.8219112958384), np.float64(1601.8197437678425), np.float64(1601.8175762398466), np.float64(1601.815408711851), np.float64(1601.813241183855), np.float64(1601.8110736558592), np.float64(1601.8089061278633), np.float64(1601.8067385998675), np.float64(1601.8045710718716), np.float64(1601.8024035438757), np.float64(1601.8002360158798), np.float64(1601.798068487884), np.float64(1601.7959009598883), np.float64(1601.7937334318924), np.float64(1601.7915659038965), np.float64(1601.7893983759006), np.float64(1601.7872308479048), np.float64(1601.7850633199089), np.float64(1601.782895791913), np.float64(1601.7807282639171), np.float64(1601.7785607359212), np.float64(1601.7763932079256), np.float64(1601.7742256799297), np.float64(1601.7720581519338), np.float64(1601.769890623938), np.float64(1601.767723095942), np.float64(1601.7655555679462), np.float64(1601.7633880399503), np.float64(1601.7612205119544), np.float64(1601.7590529839588), np.float64(1601.756885455963), np.float64(1601.754717927967), np.float64(1601.7525503999711), np.float64(1601.7503828719753), np.float64(1601.7482153439794), np.float64(1601.7460478159835), np.float64(1601.7438802879876), np.float64(1601.7417127599917), np.float64(1601.739545231996), np.float64(1601.7373777040002), np.float64(1601.7352101760043), np.float64(1601.7330426480084), np.float64(1601.7308751200126), np.float64(1601.7287075920167), np.float64(1601.7265400640208), np.float64(1601.724372536025), np.float64(1601.722205008029), np.float64(1601.7200374800334), np.float64(1601.7178699520375), np.float64(1601.7157024240416), np.float64(1601.7135348960458), np.float64(1601.7113673680499), np.float64(1601.709199840054), np.float64(1601.7070323120581), np.float64(1601.7048647840622), np.float64(1601.7026972560666), np.float64(1601.7005297280707), np.float64(1601.6983622000748), np.float64(1601.696194672079), np.float64(1601.694027144083), np.float64(1601.6918596160872), np.float64(1601.6896920880913), np.float64(1601.6875245600954), np.float64(1601.6853570320995), np.float64(1601.683189504104), np.float64(1601.681021976108), np.float64(1601.6788544481121), np.float64(1601.6766869201163), np.float64(1601.6745193921204), np.float64(1601.6723518641245), np.float64(1601.6701843361286), np.float64(1601.6680168081327), np.float64(1601.6658492801369), np.float64(1601.6636817521412), np.float64(1601.6615142241453), np.float64(1601.6593466961494), np.float64(1601.6571791681536), np.float64(1601.6550116401577), np.float64(1601.6528441121618), np.float64(1601.650676584166), np.float64(1601.64850905617), np.float64(1601.6463415281744), np.float64(1601.6441740001785), np.float64(1601.6420064721826), np.float64(1601.6398389441867), np.float64(1601.6376714161909), np.float64(1601.635503888195), np.float64(1601.633336360199), np.float64(1601.6311688322032), np.float64(1601.6290013042073), np.float64(1601.6268337762117), np.float64(1601.6246662482158), np.float64(1601.62249872022), np.float64(1601.620331192224), np.float64(1601.6181636642282), np.float64(1601.6159961362323), np.float64(1601.6138286082364), np.float64(1601.6116610802405), np.float64(1601.6094935522447), np.float64(1601.607326024249), np.float64(1601.6051584962531), np.float64(1601.6029909682572), np.float64(1601.6008234402614), np.float64(1601.5986559122655), np.float64(1601.5964883842696), np.float64(1601.5943208562737), np.float64(1601.5921533282778), np.float64(1601.5899858002822), np.float64(1601.5878182722863), np.float64(1601.5856507442904), np.float64(1601.5834832162946), np.float64(1601.5813156882987), np.float64(1601.5791481603028), np.float64(1601.576980632307), np.float64(1601.574813104311), np.float64(1601.5726455763152), np.float64(1601.5704780483195), np.float64(1601.5683105203236), np.float64(1601.5661429923277), np.float64(1601.5639754643319), np.float64(1601.561807936336), np.float64(1601.55964040834), np.float64(1601.5574728803442), np.float64(1601.5553053523483), np.float64(1601.5531378243525), np.float64(1601.5509702963568), np.float64(1601.548802768361), np.float64(1601.546635240365), np.float64(1601.5444677123692), np.float64(1601.5423001843733), np.float64(1601.5401326563774), np.float64(1601.5379651283815), np.float64(1601.5357976003856), np.float64(1601.53363007239), np.float64(1601.5314625443941), np.float64(1601.5292950163982), np.float64(1601.5271274884024), np.float64(1601.5249599604065), np.float64(1601.5227924324106), np.float64(1601.5206249044147), np.float64(1601.5184573764188), np.float64(1601.516289848423), np.float64(1601.5141223204273), np.float64(1601.5119547924314), np.float64(1601.5097872644355), np.float64(1601.5076197364397), np.float64(1601.5054522084438), np.float64(1601.503284680448), np.float64(1601.501117152452), np.float64(1601.4989496244561), np.float64(1601.4967820964603), np.float64(1601.4946145684646), np.float64(1601.4924470404687), np.float64(1601.4902795124729), np.float64(1601.488111984477), np.float64(1601.485944456481), np.float64(1601.4837769284852), np.float64(1601.4816094004893), np.float64(1601.4794418724935), np.float64(1601.4772743444978), np.float64(1601.475106816502), np.float64(1601.472939288506), np.float64(1601.4707717605102), np.float64(1601.4686042325143), np.float64(1601.4664367045184), np.float64(1601.4642691765225), np.float64(1601.4621016485266), np.float64(1601.4599341205308), np.float64(1601.457766592535), np.float64(1601.4555990645392), np.float64(1601.4534315365433), np.float64(1601.4512640085475), np.float64(1601.4490964805516), np.float64(1601.4469289525557), np.float64(1601.4447614245598), np.float64(1601.442593896564), np.float64(1601.440426368568), np.float64(1601.4382588405724), np.float64(1601.4360913125765), np.float64(1601.4339237845807), np.float64(1601.4317562565848), np.float64(1601.429588728589), np.float64(1601.427421200593), np.float64(1601.4252536725971), np.float64(1601.4230861446013), np.float64(1601.4209186166056), np.float64(1601.4187510886097), np.float64(1601.4165835606138), np.float64(1601.414416032618), np.float64(1601.412248504622), np.float64(1601.4100809766262), np.float64(1601.4079134486303), np.float64(1601.4057459206344), np.float64(1601.4035783926386), np.float64(1601.401410864643), np.float64(1601.399243336647), np.float64(1601.3970758086512), np.float64(1601.3949082806553), np.float64(1601.3927407526594), np.float64(1601.3905732246635), np.float64(1601.3884056966676), np.float64(1601.3862381686718), np.float64(1601.3840706406759), np.float64(1601.3819031126802), np.float64(1601.3797355846843), np.float64(1601.3775680566885), np.float64(1601.3754005286926), np.float64(1601.3732330006967), np.float64(1601.3710654727008), np.float64(1601.368897944705), np.float64(1601.366730416709), np.float64(1601.3645628887134), np.float64(1601.3623953607175), np.float64(1601.3602278327216), np.float64(1601.3580603047258), np.float64(1601.35589277673), np.float64(1601.353725248734), np.float64(1601.3515577207381), np.float64(1601.3493901927422), np.float64(1601.3472226647464), np.float64(1601.3450551367507), np.float64(1601.3428876087548), np.float64(1601.340720080759), np.float64(1601.338552552763), np.float64(1601.3363850247672), np.float64(1601.3342174967713), np.float64(1601.3320499687754), np.float64(1601.3298824407796), np.float64(1601.3277149127837), np.float64(1601.325547384788), np.float64(1601.3233798567921), np.float64(1601.3212123287963), np.float64(1601.3190448008004), np.float64(1601.3168772728045), np.float64(1601.3147097448086), np.float64(1601.3125422168127), np.float64(1601.3103746888169), np.float64(1601.3082071608212), np.float64(1601.3060396328253), np.float64(1601.3038721048295), np.float64(1601.3017045768336), np.float64(1601.2995370488377), np.float64(1601.2973695208418), np.float64(1601.295201992846), np.float64(1601.29303446485), np.float64(1601.2908669368542), np.float64(1601.2886994088585), np.float64(1601.2865318808626), np.float64(1601.2843643528668), np.float64(1601.2821968248709), np.float64(1601.280029296875)]
Upstream Boundary Groundwater Elevations: [np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125)]
Downstream Boundary Groundwater Elevations: [np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875)]
#----------------------Define Any River Cells ------------------------#
# Read the CSV file
grid_points_df = pd.read_csv(output_csv)

# Print the first few rows of the dataframe
print(grid_points_df.head())

# Filter out rows with NaN values in the elevation column
grid_points_df = grid_points_df.dropna(subset=['elevation'])

# Remove rows where elevation is -9999
grid_points_df = grid_points_df[grid_points_df['elevation'] != -9999]

print(grid_points_df.head())

# Plot the idomain in the background and surface water elevation on top
fig, ax = plt.subplots(figsize=(10, 8))

# Plot the idomain background
nrow, ncol = idomain.shape[1], idomain.shape[2]
idomain_plot = np.sum(idomain, axis=0)  # Sum across layers to visualize the domain
im = ax.imshow(idomain[0, :, :], cmap="coolwarm", interpolation="nearest", origin="lower",
               extent=[grid_x.min(), grid_x.max(), grid_y.min(), grid_y.max()], alpha=0.7)

# Plot the river cells on top
sc = ax.scatter(grid_points_df['x'], grid_points_df['y'], c=grid_points_df['elevation'], cmap='viridis', marker='o')
plt.colorbar(sc, label='Elevation')

plt.title('River Cells and Model Domain Outline')
plt.xlabel('X Coordinate')
plt.ylabel('Y Coordinate')
plt.show()

print(xorigin, yorigin)

# Read the CSV file
grid_points_df = pd.read_csv(output_csv)

# Crop the CSV data to the extent of the shapefile
cropped_df = grid_points_df[(grid_points_df['x'] >= xmin) & (grid_points_df['x'] <= xmax) &
                            (grid_points_df['y'] >= ymin) & (grid_points_df['y'] <= ymax)]

# Read raster data and extract elevation values
with rasterio.open(reprojected_terrain_elevation_raster) as src:
    raster_array = src.read(1)  # Read the first band
    raster_transform = src.transform
    raster_crs = src.crs
    raster_bounds_box = box(*src.bounds)  # Create a shapely box for raster bounds
    terrain_elevation = np.ma.masked_equal(raster_array, src.nodata)  # Mask no-data values

# Create a GeoDataFrame for raster bounds
raster_bounds_gdf = gpd.GeoDataFrame({"geometry": [raster_bounds_box]}, crs=hec_ras_crs)

# Calculate the extent of the raster
transform = raster_transform
xmin = transform.c
ymax = transform.f
xmax = xmin + (terrain_elevation.shape[1] * transform.a)
ymin = ymax + (terrain_elevation.shape[0] * transform.e)

# Determine the number of rows and columns based on the cell size
ncol = int((xmax - xmin) / cell_size_x)
nrow = int((ymax - ymin) / cell_size_y)
print(f'Number of columns: {ncol}')
print(f'Number of rows: {nrow}')


# Function to fit CSV data into the model grid
def fit_csv_to_grid(df, ncol, nrow, xmin, ymin, xmax, ymax):
    x_spacing = (xmax - xmin) / ncol
    y_spacing = (ymax - ymin) / nrow
    
    df['x_transformed'] = ((df['x'] - xmin) / x_spacing).astype(int)
    df['y_transformed'] = ((df['y'] - ymin) / y_spacing).astype(int)
    
    return df

# Fit the cropped CSV data into the model grid
cropped_df = fit_csv_to_grid(cropped_df, ncol, nrow, xmin, ymin, xmax, ymax)

# Remove any values below 0
cropped_df = cropped_df[cropped_df['elevation'] >= 0]

# # Plot to visualize
# fig, ax = plt.subplots()
# im = ax.imshow(idomain[0, :, :], cmap="coolwarm", interpolation="nearest", origin="lower",
#                extent=[0, ncol, 0, nrow], alpha=0.7)

# # Add transformed grid points to the plot
# scatter = ax.scatter(cropped_df['x_transformed'], cropped_df['y_transformed'], c=cropped_df['elevation'], cmap='viridis', edgecolor='k')

# plt.colorbar(scatter, ax=ax, label='Elevation')
# plt.xlabel('Transformed X Coordinate')
# plt.ylabel('Transformed Y Coordinate')
# plt.title('Transformed Grid Points and Model Grid')
# plt.show()

# Function to extract river cells
def extract_river_cells(df, idomain, nlay):
    river_cells = []
    for _, row in df.iterrows():
        x, y = int(row['x_transformed']), int(row['y_transformed'])
        river_height = row['elevation']
        if 0 <= x < idomain.shape[2] and 0 <= y < idomain.shape[1]:  # Ensure indices are within bounds
            if np.any(idomain[:, y, x] == 1):
                for k in range(nlay):
                    river_cells.append((k, y, x, river_height))
    return river_cells

# Extract river cells
river_cells = extract_river_cells(cropped_df, idomain, nlay)

# Extract coordinates and elevation from river cells
river_x = [cell[2] for cell in river_cells]
river_y = [cell[1] for cell in river_cells]
river_elevation = [cell[3] for cell in river_cells]

# Plot to visualize
fig, ax = plt.subplots()
im = ax.imshow(idomain[0, :, :], cmap="coolwarm", interpolation="nearest", origin="lower",
               extent=[0, ncol, 0, nrow], alpha=0.7)

# Add transformed river cells to the plot
scatter = ax.scatter(river_x, river_y, c=river_elevation, cmap='viridis', edgecolor='k')

plt.colorbar(scatter, ax=ax, label='Elevation')
plt.xlabel('Transformed X Coordinate')
plt.ylabel('Transformed Y Coordinate')
plt.title('River Cells and Model Grid')
plt.show()
              x             y  elevation
0  2.406094e+06  1.051448e+07        NaN
1  2.406106e+06  1.051448e+07        NaN
2  2.406119e+06  1.051448e+07        NaN
3  2.406132e+06  1.051448e+07        NaN
4  2.406145e+06  1.051448e+07        NaN
                 x             y    elevation
1944  2.407334e+06  1.051459e+07  1600.299194
1945  2.407347e+06  1.051459e+07  1600.313477
2112  2.407334e+06  1.051460e+07  1600.333008
2113  2.407347e+06  1.051460e+07  1600.350220
2280  2.407334e+06  1.051461e+07  1600.369263
_images/a47d41c9cce0feffa2ef1aebcbdc7ded8dda75ef54a8fe20a56afac95ae24b5b.png
2406093.5149272773 10514475.360625861
Number of columns: 215
Number of rows: 192
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\3544278626.py:73: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  df['x_transformed'] = ((df['x'] - xmin) / x_spacing).astype(int)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_24420\3544278626.py:74: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  df['y_transformed'] = ((df['y'] - ymin) / y_spacing).astype(int)
_images/998af3e47f2a9cd1bebfad57aa91e50cc626bb752b97f5cc10bb3c1d0c26355c.png
#----------------------Create Constant Head Data------------------------#
# Create the CHD package
chd_data = []

# Identify boundary cells where the elevations are <= groundwater elevations
ch_left_boundary = gw_elevation_left  # Groundwater elevation list matching the left boundary cells (nlay, nrow, ncol)
ch_right_boundary = gw_elevation_right  # Groundwater elevation list matching the right boundary cells (nlay, nrow, ncol)
ch_upstream_boundary = gw_elevation_upstream  # Groundwater elevation list matching the upstream boundary cells (nlay, nrow, ncol)
ch_downstream_boundary = gw_elevation_downstream  # Groundwater elevation list matching the downstream boundary cells (nlay, nrow, ncol)

# Set to keep track of unique (nlay, nrow, ncol) coordinates
unique_chd_cells = set()
duplicate_chd_cells = set()

# Add boundary conditions for each side of the model and track duplicates

# Left Boundaries (Constant Head = ch_left_boundary)
for i, cell in enumerate(left_boundary_cells):
    nlay, nrow, ncol = cell[0], cell[1], cell[2]  # Extract nlay, nrow, ncol
    if (nlay, nrow, ncol) not in unique_chd_cells:
        chd_data.append([nlay, nrow, ncol, ch_left_boundary[i]])
        unique_chd_cells.add((nlay, nrow, ncol))  # Add to unique set
    else:
        duplicate_chd_cells.add((nlay, nrow, ncol))  # Track duplicate cells

# Right Boundaries (Constant Head = ch_right_boundary)
for i, cell in enumerate(right_boundary_cells):
    nlay, nrow, ncol = cell[0], cell[1], cell[2]  # Extract nlay, nrow, ncol
    if (nlay, nrow, ncol) not in unique_chd_cells:
        chd_data.append([nlay, nrow, ncol, ch_right_boundary[i]])
        unique_chd_cells.add((nlay, nrow, ncol))  # Add to unique set
    else:
        duplicate_chd_cells.add((nlay, nrow, ncol))  # Track duplicate cells

# Upstream Boundary (Constant Head = ch_upstream_boundary)
for i, cell in enumerate(upstream_boundary_cells):
    nlay, nrow, ncol = cell[0], cell[1], cell[2]  # Extract nlay, nrow, ncol
    if (nlay, nrow, ncol) not in unique_chd_cells:
        chd_data.append([nlay, nrow, ncol, ch_upstream_boundary[i]])
        unique_chd_cells.add((nlay, nrow, ncol))  # Add to unique set
    else:
        duplicate_chd_cells.add((nlay, nrow, ncol))  # Track duplicate cells

# Downstream Boundary (Constant Head = ch_downstream_boundary)
for i, cell in enumerate(downstream_boundary_cells):
    nlay, nrow, ncol = cell[0], cell[1], cell[2]  # Extract nlay, nrow, ncol
    if (nlay, nrow, ncol) not in unique_chd_cells:
        chd_data.append([nlay, nrow, ncol, ch_downstream_boundary[i]])
        unique_chd_cells.add((nlay, nrow, ncol))  # Add to unique set
    else:
        duplicate_chd_cells.add((nlay, nrow, ncol))  # Track duplicate cells

# keeps river cells that are not duplicates
# doesn't override boundary cells to add river cells
for i, cell in enumerate(river_cells):
    nlay, nrow, ncol = cell[0], cell[1], cell[2]  # Extract nlay, nrow, ncol
    if (nlay, nrow, ncol) not in unique_chd_cells:
        chd_data.append([cell[0], cell[1], cell[2], cell[3]])
        unique_chd_cells.add((nlay, nrow, ncol))  # Add to unique set
    else:
        duplicate_chd_cells.add((nlay, nrow, ncol)) # Track duplicate cells (should occur in river cells)

print(f"✅ Total Unique CHD Boundary Cells: {len(unique_chd_cells)}")
print(f"❌ Total Duplicate CHD Boundary Cells: {len(duplicate_chd_cells)}")

# Convert np.float32 to standard Python float
chd_data_converted = []

for item in chd_data:
    # Check if item[3] is a list and convert each element to float
    if isinstance(item[3], list):
        converted_head_value = [float(val) for val in item[3]]
    else:
        converted_head_value = float(item[3])
    
    converted_item = [item[0], item[1], item[2], converted_head_value]
    chd_data_converted.append(converted_item)

print(f"✅ Assigned {len(chd_data_converted)} CHD boundary cells.")

# Optional: print the boundary cell counts
print(f"Left Boundary Cells: {len(left_boundary_cells)}")
print(f"Right Boundary Cells: {len(right_boundary_cells)}")
print(f"Upstream Boundary Cells: {len(upstream_boundary_cells)}")
print(f"Downstream Boundary Cells: {len(downstream_boundary_cells)}")
print(f"River Cells: {len(river_cells)}")
✅ Total Unique CHD Boundary Cells: 6000
❌ Total Duplicate CHD Boundary Cells: 0
✅ Assigned 6000 CHD boundary cells.
Left Boundary Cells: 2000
Right Boundary Cells: 1840
Upstream Boundary Cells: 960
Downstream Boundary Cells: 1200
River Cells: 0
#---------------------- OPTIONAL: Define Any Wells ------------------------#
# Get the bounds of the shapefile
minx, miny, maxx, maxy = ground_water_domain.total_bounds

# Function to generate a random point within the bounds
def generate_random_point_within(bounds):
    minx, miny, maxx, maxy = bounds
    while True:
        pnt = Point(random.uniform(minx, maxx), random.uniform(miny, maxy))
        if ground_water_domain.contains(pnt).any():
            return pnt

# Generate 3 random points within the shapefile
random_points = [generate_random_point_within((minx, miny, maxx, maxy)) for _ in range(3)]

# Assign pseudo pumping rates to these points
pumping_rates = np.random.uniform(-500, -100, 3)  # Example pseudo pumping rates

# Create a GeoDataFrame with the well locations and pumping rates
well_data = [{'geometry': point, 'pump_rate': rate} for point, rate in zip(random_points, pumping_rates)]
gdf = gpd.GeoDataFrame(well_data)

# Print the GeoDataFrame
print(gdf)

# Save the GeoDataFrame as a shapefile
output_shapefile = 'random_wells.shp'
gdf.to_file(output_shapefile)

print(f"Random wells shapefile saved as {output_shapefile}")

## Read in Actual Point Shapefile (coordinates of wells + well pumping rates)
# Define the path to your point file
## Read in Actual Point Shapefile (coordinates of wells + well pumping rates)
# Define the path to your point file
point_file_path = 'random_wells.shp'  # Replace with the actual path to your point file

# Read the point file using geopandas
gdf = gpd.read_file(point_file_path)

# Reproject the point file to the target CRS
gdf = gdf.to_crs(hec_ras_crs)

# Print the GeoDataFrame
print(gdf)

# Extract well locations and pumping rates
well_locations = gdf['geometry']
pumping_rates = gdf['pump_rate']

# Print well locations and pumping rates
print("Well Locations:")
print(well_locations)
print("Pumping Rates:")
print(pumping_rates)

# Print well locations and pumping rates
print("Well Locations:")
print(well_locations)
print("Pumping Rates:")
print(pumping_rates)

# Define the transform for converting coordinates to model grid indices
# Replace with your actual transform
transform = rasterio.transform.from_origin(xorigin, yorigin, cell_size_x, cell_size_y)

# Create the well package data
wel_data = []
nrow, ncol = idomain.shape[1], idomain.shape[2]

for idx, row in gdf.iterrows():
    well_geometry = row.geometry
    x, y = well_geometry.x, well_geometry.y
    i, j = ~transform * (x, y)  # Convert coordinates to model grid indices
    i, j = abs(int(i)), abs(int(j))  # Ensure indices are integers
    k = 0  # Assuming wells are in the first layer
    q = row['pump_rate']  # Pull the pumping rate from the point file attribute

    # Check if the well point intersects any cell in the grid
    for grid_row in range(nrow):
        for grid_col in range(ncol):
            cell_geometry = grid_gdf.iloc[grid_row * ncol + grid_col].geometry
            if well_geometry.intersects(cell_geometry):
                wel_data.append([k, grid_row, grid_col, float(q)])
                break  # Exit the loop once the intersecting cell is found

# Print the well package data for verification
for entry in wel_data:
    print(entry)

# Monitoring strategy
def monitor_wells(wel_data):
    # Example monitoring strategy: Print well locations and pumping rates
    for well in wel_data:
        k, i, j, q = well
        print(f"Monitoring Well at Layer {k}, Row {i}, Column {j} with Pumping Rate {q} cubic feet per day")

# Implement monitoring strategy
monitor_wells(wel_data)
c:\Users\u4eeevmq\Documents\Python\HyporheicFloPy\.venv\Lib\site-packages\pyogrio\geopandas.py:662: UserWarning: 'crs' was not provided.  The output dataset will not have projection information defined and may not be usable in other systems.
  write(
                           geometry   pump_rate
0  POINT (2407290.195 10515608.574) -319.439703
1   POINT (2407170.901 10515383.59) -366.643726
2  POINT (2407120.043 10515428.283) -127.408459
Random wells shapefile saved as random_wells.shp
    pump_rate                          geometry
0 -319.439703  POINT (2407290.195 10515608.574)
1 -366.643726   POINT (2407170.901 10515383.59)
2 -127.408459  POINT (2407120.043 10515428.283)
Well Locations:
0    POINT (2407290.195 10515608.574)
1     POINT (2407170.901 10515383.59)
2    POINT (2407120.043 10515428.283)
Name: geometry, dtype: geometry
Pumping Rates:
0   -319.439703
1   -366.643726
2   -127.408459
Name: pump_rate, dtype: float64
Well Locations:
0    POINT (2407290.195 10515608.574)
1     POINT (2407170.901 10515383.59)
2    POINT (2407120.043 10515428.283)
Name: geometry, dtype: geometry
Pumping Rates:
0   -319.439703
1   -366.643726
2   -127.408459
Name: pump_rate, dtype: float64
[0, 112, 93, -319.43970341947227]
Monitoring Well at Layer 0, Row 112, Column 93 with Pumping Rate -319.43970341947227 cubic feet per day
#----------------------Define particle Release Configurations------------------------#

# Initialize an empty list to store particle data
particle_data = []

# Iterate through the idomain array to find active cells in layers 2 to the end
for k in range(2, idomain.shape[0]):  # Loop through layers starting from layer 2
    for i in range(idomain.shape[1]):  # Loop through rows
        for j in range(idomain.shape[2]):  # Loop through columns
            if idomain[k, i, j] == 1:  # Check if the cell is active
                # Add particle starting location at the center of the cell
                particle_data.append((k, i, j))

# Define particle release configurations using flopy
mp7_particle_data_1a = flopy.modpath.ParticleData(
    particle_data,
    drape=0,
    structured=True,
    particleids=[i for i in range(len(particle_data))],
    localz=0.5,  # Release particles at the center of the cell in the z-direction
)

# Print the particle data for verification
print(mp7_particle_data_1a)

# ---------------- OPTIONAL: Define Local Refinement Cells -----------------#
# Initialize an empty list to store LRC regions
# lrcregions = []

# # Iterate through the idomain array to find active cells in layers 2 to the end
# for k in range(2, idomain.shape[0]):  # Loop through layers starting from layer 2
#     for i in range(idomain.shape[1]):  # Loop through rows
#         for j in range(idomain.shape[2]):  # Loop through columns
#             if idomain[k, i, j] == 1:  # Check if the cell is active
#                 # Add the active cell to the LRC regions
#                 lrcregions.append([k, i, j, i, j, k])

# # Define particle release configurations using flopy
# mp7_particle_data_1b = flopy.modpath.LRCParticleData(
#     subdivisiondata=[
#         flopy.modpath.FaceDataType(
#             drape=0,
#             verticaldivisions1=0,
#             horizontaldivisions1=0,
#             verticaldivisions2=0,
#             horizontaldivisions2=0,
#             verticaldivisions3=0,
#             horizontaldivisions3=0,
#             verticaldivisions4=0,
#             horizontaldivisions4=0,
#             rowdivisions5=0,
#             columndivisions5=0,
#             rowdivisions6=3,
#             columndivisions6=3,
#         )
#     ],
#     lrcregions=[lrcregions],
# )

# # Print the particle data for verification
# print(mp7_particle_data_1b)
<flopy.modpath.mp7particledata.ParticleData object at 0x0000020E3A7EE410>
#---------------------- OPTIONAL: Create Any Nodes ------------------------#
# # Get well and river cell numbers
# nodes = {}

# # Well location (k, i, j) where k is the layer, i is the row, and j is the column
# nodes["well"] = []
# for well in wel_data:
#     k, i, j, q = well
#     # Calculate the cell number for the well
#     # Cell number is calculated as: ncol * (nrow * k + i) + j
#     cell_number = ncol * (nrow * k + i) + j
#     nodes["well"].append(cell_number)

# # Print the calculated cell numbers for verification
# print("Well cell numbers:", nodes["well"])

# nodes["river"] = []
# for rivspec in rd:
#     k, i, j, q, r, s = rivspec  # Unpack all four elements
#     node = ncol * (nrow * k + i) + j
#     nodes["river"].append(node)

# # Print the calculated cell numbers for verification
# print("River cell numbers:", nodes["river"])
#----------------------Model Setup Functions ------------------------#
def build_gwf_model(example_name):
    print(f"Building GWF model for {example_name}")

    # Instantiate the MODFLOW 6 GWF simulation object
    gwfsim = flopy.mf6.MFSimulation(
        sim_name=gwf_name, exe_name=md6_exe_path, sim_ws=gwf_ws
    )

    # Instantiate the MODFLOW 6 temporal discretization package
    flopy.mf6.modflow.mftdis.ModflowTdis(
        gwfsim,
        pname="tdis",
        time_units="DAYS",
        nper=nper,
        perioddata=[(perlen, nstp, tsmult)],
    )

    # Instantiate the MODFLOW 6 gwf (groundwater-flow) model
    gwf = flopy.mf6.ModflowGwf(
        gwfsim, modelname=gwf_name, model_nam_file=f"{gwf_name}.nam", save_flows=True
    )

    # Instantiate the MODFLOW 6 gwf discretization package
    flopy.mf6.modflow.mfgwfdis.ModflowGwfdis(
        gwf,
        nlay=len(botm),  # Number of layers (based on `botm` list length)
        nrow=nrow,       # Number of rows in the grid
        ncol=ncol,       # Number of columns in the grid
        delr=cell_size_x,  # Cell width
        delc=cell_size_y,  # Cell height
        top=tops[0],       # List of dynamically calculated top elevation of the first layer
        botm=botm,          # List of bottom elevations for all layers
        idomain=idomain,    # List of dynamically calculated active and inactive cells in the model domain
        xorigin=xorigin,  # Assign dynamically calculated xorigin
        yorigin=yorigin   # Assign dynamically calculated yorigin
    )
    
    # Add initial conditions (IC package)
    strt_array = np.full((len(botm), nrow, ncol), bed_elevation)

    # Instantiate the MODFLOW 6 gwf initial conditions package
    flopy.mf6.modflow.mfgwfic.ModflowGwfic(gwf, pname="ic", strt= strt_array)
    
    # Instantiate the MODFLOW 6 gwf node property flow package
    flopy.mf6.modflow.mfgwfnpf.ModflowGwfnpf(
        gwf,
        pname="npf",
        icelltype= 2,
        k=kh,
        k33=kv,
        save_flows=True,
        save_saturation=True,
        save_specific_discharge=True,
    )

    # # Instantiate the MODFLOW 6 gwf recharge package
    # flopy.mf6.modflow.mfgwfrcha.ModflowGwfrcha(
    #     gwf,
    #     recharge=recharge_rate,
    #     auxiliary=["iface", "iflowface"],
    #     aux=[rch_iface, rch_iflowface],
    #     save_flows=True,
    # )

    # # Create the well package
    # flopy.mf6.ModflowGwfwel(
    #     gwf,
    #     maxbound=len(wel_data),
    #     stress_period_data={0: wel_data},
    #     pname='WEL'
    # )

    # Create an iterative model solution (IMS) for the MODFLOW 6 gwf model
    flopy.mf6.ModflowIms(
        gwfsim,
        print_option="SUMMARY",
        outer_dvclose=1e-4,  # Increase convergence criteria for outer iterations
        outer_maximum=200,  # Increase maximum number of outer iterations
        under_relaxation="NONE",
        inner_maximum=500,  # Increase maximum number of inner iterations
        inner_dvclose=1e-4,  # Increase convergence criteria for inner iterations
        rcloserecord=1e-4,  # Increase residual convergence criteria
        linear_acceleration="BICGSTAB",  # Switch to Bi-Conjugate Gradient Stabilized method
        scaling_method="NONE",
        reordering_method="NONE",
        relaxation_factor=0.97,  # Adjust relaxation factor
    )

    # Assign CHD Package to the model if there are valid unique boundary cells
    if not chd_data_converted:
        print("❌ No CHD boundary cells assigned. Please check the input data and conditions.")
    else:
    # Format the CHD values to ensure they are not in scientific notation
        formatted_chd_data = [
            [item[0], item[1], item[2], float(f"{item[3]:.2f}")]
            for item in chd_data_converted
    ]
    
        # Assuming 'gwf' is your groundwater flow model instance
        flopy.mf6.ModflowGwfchd(
            gwf,
            maxbound=len(formatted_chd_data),  # Set to actual assigned CHD cells
            stress_period_data={0: formatted_chd_data},  # Apply the boundary conditions in stress period 0
            pname="CHD",
            save_flows=True,
            filename=f"{gwf_name}.chd"
        )

    print(f"✅ Assigned {len(formatted_chd_data)} unique CHD boundary cells.")

    # Instantiate the MODFLOW 6 prt output control package
    saverecord = [("HEAD", "ALL"), ("BUDGET", "ALL")]
    printrecord = [("HEAD", "LAST")]
    flopy.mf6.ModflowGwfoc(
        gwf,
        saverecord=saverecord,
        head_filerecord=head_filerecord,
        budget_filerecord=budget_filerecord,
        printrecord=printrecord,
    )
    return gwfsim, gwf

def build_particle_models(example_name, gwf):
    print(f"Building PRT model for {example_name}")

    # Instantiate the MODFLOW 6 PRT simulation object
    prtsim = flopy.mf6.MFSimulation(
        sim_name=prt_name, exe_name=md6_exe_path, version="mf6", sim_ws=prt_ws
    )

    # Instantiate the MODFLOW 6 temporal discretization package
    flopy.mf6.modflow.mftdis.ModflowTdis(
        prtsim,
        pname="tdis",
        time_units="DAYS",
        nper=nper,
        perioddata=[(perlen, nstp, tsmult)],
    )

    # Instantiate the MODFLOW 6 prt model
    prt = flopy.mf6.ModflowPrt(
        prtsim, modelname=prt_name, model_nam_file=f"{prt_name}.nam", save_flows=True
    )

    # Instantiate the MODFLOW 6 prt discretization package
    flopy.mf6.modflow.mfgwfdis.ModflowGwfdis(
        prt,
        pname="dis",
        nlay=len(botm),
        nrow=nrow,
        ncol=ncol,
        length_units="FEET",
        delr=cell_size_x,  # Cell width
        delc=cell_size_y,  # Cell height
        top=tops[0],
        botm=botm,
        idomain=idomain,    # List of dynamically calculated active and inactive cells in the model domain
        xorigin=xorigin,  # Assign dynamically calculated xorigin
        yorigin=yorigin   # Assign dynamically calculated yorigin
    )

    # Instantiate the MODFLOW 6 prt model input package.
    # Assign a different zone number to active cells, well cells, and river cells.
    # # This makes it easier to determine where particles terminate.
    # izone = np.zeros((len(botm), nrow, ncol), dtype=int)
    # for l, r, c in gwf.modelgrid.get_lrc(nodes["well"]):
    #     izone[l, r, c] = 1
    # for l, r, c in gwf.modelgrid.get_lrc(nodes["river"]):
    #     izone[l, r, c] = 2
    flopy.mf6.ModflowPrtmip(prt, pname="mip", porosity= porosity) #izone=izone)

    # Instantiate the MODFLOW 6 prt particle release point (prp) package for example 1A,
    # first converting MP7 particle release configurations to PRT format.
    releasepts_1a = list(mp7_particle_data_1a.to_prp(prt.modelgrid))
    flopy.mf6.ModflowPrtprp(
        prt,
        pname="prp1a",
        filename=f"{prt_name}_1a.prp",
        nreleasepts=len(releasepts_1a),
        packagedata=releasepts_1a,
        perioddata={0: ["FIRST"]},
        exit_solve_tolerance=1e-5,
    )

    # # Instantiate the MODFLOW 6 prt particle release point (prp) package for example 1B,
    # # first converting MP7 particle release configurations to PRT format.
    # releasepts_1b = list(mp7_particle_data_1b.to_prp(prt.modelgrid))
    # flopy.mf6.ModflowPrtprp(
    #     prt,
    #     pname="prp1b",
    #     filename=f"{prt_name}_1b.prp",
    #     nreleasepts=len(releasepts_1b),
    #     packagedata=releasepts_1b,
    #     perioddata={0: ["FIRST"]},
    #     exit_solve_tolerance=1e-10,
    # )

    # Instantiate the MODFLOW 6 prt output control package
    budget_record = [budgetfile_prt]
    track_record = [trackfile_prt]
    trackcsv_record = [trackcsvfile_prt]
    
    #tracktimes = [round(float(i), 2) for i in range(0, 72000, 1000)]  # Convert to non-integer floats and round
    tracktimes = [float(i) for i in range(0, 72000, 1000)]
    ntracktimes = len(tracktimes) 
    
    # Debug print to check tracktimes and ntracktimes
    print("Track times:", tracktimes)
    print("Data type of track times:", type(tracktimes))
    print("Number of track times:", ntracktimes)
    print("Data type of Number of track times:", type(ntracktimes))

    # Dynamically generate file names
    budget_filerecord_prt = [budgetfile_prt]
    track_filerecord_prt = [trackfile_prt]

    # # Create .oc file manually
    # oc_file = "{}.oc".format(prt_name)  # The .oc file name will also be based on prt_name

    # with open(oc_file, 'w') as f:
    #     f.write("OC\n")
    #     f.write("  PRINT HEAD LAST\n")  # Print head for the last time step
    #     f.write("  SAVE HEAD ALL\n")  # Save head for all time steps
    #     f.write("  SAVE BUDGET ALL\n")  # Save budget for all time steps
    #     f.write(f"  BUDGET FILE {budgetfile_prt}\n")  # Use the dynamic budget file
    #     f.write(f"  PRINT FILE {prt_name}_output.dat\n")  # Example print file
    #     f.write(f"  TRACK FILE {trackfile_prt}\n")  # Use the dynamic track file
    #     f.write(f"  TRACKCSV FILE {trackcsvfile_prt}\n")  # Use the dynamic track CSV file
    #     f.write(f"  TRACKHDR FILE {trackhdrfile_prt}\n")  # Use the dynamic track header file
    #     f.write("  NTRACKTIMES 5\n")  # Example: 5 tracking times
    #     f.write("  TRACKTIMES 1.0 2.0 3.0 4.0 5.0\n")  # Example: tracking times

    # flopy.mf6.ModflowPrtoc(
    #     prt,
    #     pname="oc",
    #     budget_filerecord=budget_record,
    #     track_filerecord=track_record,
    #     trackcsv_filerecord=trackcsv_record,
    #     ntracktimes= float(ntracktimes),
    #     tracktimes=[(t,) for t in tracktimes],
    #     saverecord = [("HEAD", "ALL"), ("BUDGET", "ALL")],
    #     printrecord = [("HEAD", "LAST")]
    # )

    # Debug prints to check if the paths exist
    head_path = gwf_ws / headfile
    budget_path = gwf_ws / budgetfile
    print("Head file path:", head_path)
    print("Budget file path:", budget_path)
    print("Head file exists:", head_path.exists())  
    print("Budget file exists:", budget_path.exists())

    # Instantiate the MODFLOW 6 prt flow model interface
    pd = [
        ("GWFHEAD", pl.Path(f"../{gwf_ws.name}/{headfile}")),
        ("GWFBUDGET", pl.Path(f"../{gwf_ws.name}/{budgetfile}")),
    ]
    
    flopy.mf6.ModflowPrtfmi(prt, packagedata=pd)

    # Create an explicit model solution (EMS) for the MODFLOW 6 prt model
    ems = flopy.mf6.ModflowEms(
        prtsim,
        pname="ems",
        filename=f"{prt_name}.ems",
    )
    prtsim.register_solution_package(ems, [prt.name])

    print(f"Building PRT model for {example_name}")
    
    # Instantiate the MODPATH 7 object
    mp7 = flopy.modpath.Modpath7(
        modelname=mp7_name,
        flowmodel=gwf,
        exe_name=md7_exe_path,
        model_ws=mp7_ws,
        budgetfilename=budget_path,
        headfilename=head_path,
    )

    # Instantiate the MODPATH 7 basic data
    flopy.modpath.Modpath7Bas(mp7, porosity=porosity, defaultiface={"RCH": 6, "EVT": 6})

    # Instantiate the MODPATH 7 particle groups
    pg1a = flopy.modpath.ParticleGroup(
        particlegroupname="PG1A",
        particledata=mp7_particle_data_1a,
        filename=sim_name + "a.sloc",
    )
    # pg1b = flopy.modpath.ParticleGroupLRCTemplate(
    #     particlegroupname="PG1B",
    #     particledata=mp7_particle_data_1b,
    #     filename=sim_name + "b.sloc",
    # )

    # Instantiate the MODPATH 7 simulation
    mpsim = flopy.modpath.Modpath7Sim(
        mp7,
        simulationtype="combined",
        trackingdirection="forward",
        weaksinkoption="pass_through",
        weaksourceoption="pass_through",
        budgetoutputoption="summary",
        referencetime=[0, 0, 0.0],
        stoptimeoption="extend",
        timepointdata=[500, 1000.0],
        zonedataoption="on",
        zones=izone,
        particlegroups=[pg1a],
)
    return prtsim, prt, mpsim, mp7

def write_models(*sims, silent=False):
    for sim in sims:
        if isinstance(sim, MFSimulation):
            sim.write_simulation(silent=silent)
        else:
            sim.write_input()


@timed
def run_models(*sims, silent=False):
    for sim in sims:
        if isinstance(sim, MFSimulation):
            print(f"Running simulation: {sim.name}")
            success, buff = sim.run_simulation(silent=silent, report=True)
        else:
            print(f"Running model: {sim.name}")
            success, buff = sim.run_model(silent=silent, report=True)
        
        if not success:
            print(f"Simulation {sim.name} failed.")
            print(pformat(buff))
            break
        else:
            print(f"Simulation {sim.name} succeeded.")
#---------------------- Groundwater Model Plotting ------------------------#
def load_head():
    # Assuming you have a head file to load
    head_file = gwf_ws / headfile
    head_obj = flopy.utils.HeadFile(head_file)
    head = head_obj.get_data()
    return head

def plot_gwf_all(gwfsim):
    # get gwf model
    gwf = gwfsim.get_model(gwf_name)
    head = load_head()

    # Load the discretization file to access model grid information
    dis = gwf.get_package("DIS")
    nlay, nrow, ncol = dis.nlay.data, dis.nrow.data, dis.ncol.data

    # Load the idomain array to identify active cells
    idomain = dis.idomain.array # No results will be visible otherwise

    # Choose the layer you want to plot, e.g., the first layer (layer 0)
    layer_to_plot = 1  # You can change this to any other layer (0-based index)

    # Extract the groundwater head for the specified layer (nrow, ncol)
    head_layer = head[layer_to_plot, :, :]

    # Mask the inactive cells in the head_layer array
    head_layer_masked = np.ma.masked_where(idomain[layer_to_plot, :, :] == 0, head_layer)

    # Plot the groundwater head for the chosen layer
    plt.figure(figsize=(10, 6))
    plt.imshow(head_layer_masked, cmap='viridis', origin='lower', extent=[0, ncol, 0, nrow])
    plt.colorbar(label='Groundwater Head (m)')
    plt.title(f'Groundwater Head at Layer {layer_to_plot + 1}')
    plt.xlabel('Column')
    plt.ylabel('Row')
    plt.show()

    # Load the surface elevation data
    surface_elevation = dis.top.array

    # Choose the layers you want to plot, e.g., the first layer (layer 0) and the last layer
    layer_to_plot_first = 0  # First layer (0-based index)
    layer_to_plot_last = nlay - 1  # Last layer (0-based index)

    # Extract the groundwater head for the specified layers (nrow, ncol)
    head_layer_first = head[layer_to_plot_first, :, :]
    head_layer_last = head[layer_to_plot_last, :, :]

    # Mask the inactive cells in the head_layer arrays
    head_layer_first_masked = np.ma.masked_where(idomain[layer_to_plot_first, :, :] == 0, head_layer_first)
    head_layer_last_masked = np.ma.masked_where(idomain[layer_to_plot_last, :, :] == 0, head_layer_last)

    # Plot the surface elevation for active cells and overlay groundwater head contours
    fig, axs = plt.subplots(1, 2, figsize=(20, 10))

    # Plot for the first layer
    top_active_first = np.ma.masked_where(idomain[layer_to_plot_first, :, :] == 0, surface_elevation)
    im1 = axs[0].imshow(top_active_first, cmap="terrain", interpolation="nearest", origin="lower",
                        extent=[0, ncol, 0, nrow], alpha=0.7)
    plt.colorbar(im1, ax=axs[0], label='Surface Elevation (m)')

    # Check if the minimum and maximum values are different before creating contour levels
    if head_layer_first_masked.min() != head_layer_first_masked.max():
        contour_first = axs[0].contour(head_layer_first_masked, levels=np.linspace(head_layer_first_masked.min(), head_layer_first_masked.max(), 10), colors='blue', extent=[0, ncol, 0, nrow])
        axs[0].clabel(contour_first, inline=True, fontsize=8, fmt='%1.1f')
    axs[0].set_title(f'Surface Elevation and Groundwater Head Contours at Layer {layer_to_plot_first + 1}')
    axs[0].set_xlabel('Column')
    axs[0].set_ylabel('Row')

    # Plot for the last layer
    top_active_last = np.ma.masked_where(idomain[layer_to_plot_last, :, :] == 0, surface_elevation)
    im2 = axs[1].imshow(top_active_last, cmap="terrain", interpolation="nearest", origin="lower",
                        extent=[0, ncol, 0, nrow], alpha=0.7)
    plt.colorbar(im2, ax=axs[1], label='Surface Elevation (m)')

    # Check if the minimum and maximum values are different before creating contour levels
    if head_layer_last_masked.min() != head_layer_last_masked.max():
        contour_last = axs[1].contour(head_layer_last_masked, levels=np.linspace(head_layer_last_masked.min(), head_layer_last_masked.max(), 10), colors='blue', extent=[0, ncol, 0, nrow])
        axs[1].clabel(contour_last, inline=True, fontsize=8, fmt='%1.1f')
    axs[1].set_title(f'Surface Elevation and Groundwater Head Contours at Layer {layer_to_plot_last + 1}')
    axs[1].set_xlabel('Column')
    axs[1].set_ylabel('Row')

    plt.tight_layout()
    plt.show()

    #---------------------- Zoom In to idomain ------------------------#
    # Choose the layers you want to plot
    layers_to_plot = [1, 19, 39]  # 1st, 20th, and 40th layers (0-based index)

    # Extract the groundwater head for the specified layers (nrow, ncol)
    head_layers = [head[layer, :, :] for layer in layers_to_plot]

    # Mask the inactive cells in the head_layer arrays
    head_layers_masked = [np.ma.masked_where(idomain[layer, :, :] == 0, head_layers[i]) for i, layer in enumerate(layers_to_plot)]

    # Determine the extent of the active cells
    active_cells = np.any(idomain, axis=0)
    active_rows, active_cols = np.where(active_cells)
    row_min, row_max = active_rows.min(), active_rows.max()
    col_min, col_max = active_cols.min(), active_cols.max()

    # Define the extent for the plots
    extent = [col_min, col_max + 1, row_min, row_max + 1]

    # Plot the surface elevation for active cells and overlay groundwater head contours
    fig, axs = plt.subplots(3, 1, figsize=(10, 30))

    for i, layer in enumerate(layers_to_plot):
        # Plot for each layer
        top_active = np.ma.masked_where(idomain[layer, :, :] == 0, surface_elevation)
        im = axs[i].imshow(top_active[row_min:row_max+1, col_min:col_max+1], cmap="terrain", interpolation="nearest", origin="lower",
                           extent=extent, alpha=0.7)
        plt.colorbar(im, ax=axs[i], label='Surface Elevation (m)')
        contour = axs[i].contour(head_layers_masked[i][row_min:row_max+1, col_min:col_max+1], levels=np.linspace(head_layers_masked[i].min(), head_layers_masked[i].max(), 10), colors='blue', extent=extent)
        axs[i].clabel(contour, inline=True, fontsize=8, fmt='%1.1f')
        axs[i].set_title(f'Surface Elevation and Groundwater Head Contours at Layer {layer + 1}')
        axs[i].set_xlabel('Column')
        axs[i].set_ylabel('Row')

    plt.tight_layout()
    plt.show()

    #---------------------- 3D Plot of the Model ------------------------#
    top = dis.top.array
    botm = dis.botm.array
    idomain = dis.idomain.array  # Assuming idomain is part of the dis object

    # Combine top and botm to get the elevation data for all layers
    elevation_data = np.concatenate(([top], botm), axis=0)

    # Get the number of rows and columns
    nrows, ncols = top.shape

    # Layer to plot for terrain
    terrain_layer = 0

    # Create a meshgrid for x and y coordinates
    x = np.linspace(0, ncols - 1, ncols)
    y = np.linspace(0, nrows - 1, nrows)
    x, y = np.meshgrid(x, y)

    # Mask the elevation data using the idomain array
    #z = np.ma.masked_where(idomain[terrain_layer, :, :] == 0, elevation_data[terrain_layer, :, :])

    # Set up plot
    fig, ax = plt.subplots(subplot_kw=dict(projection='3d'))

    # Light source for hillshading
    ls = LightSource(270, 45)

    # Plot the masked elevation data
    z = elevation_data[terrain_layer, :, :]
    rgb = ls.shade(z, cmap=cm.gist_earth, vert_exag=0.1, blend_mode='soft')
    surf = ax.plot_surface(x, y, z, rstride=1, cstride=1, facecolors=rgb,
                        linewidth=0, antialiased=False, shade=False)

    # Set plot labels and title
    ax.set_title('3D Terrain Elevation')
    ax.set_xlabel('Column')
    ax.set_ylabel('Row')
    ax.set_zlabel('Elevation (ft)')

    plt.show()

## Code from:
# https://github.com/matplotlib/matplotlib/tree/cfe5bf75eaf378b9523830908036f2123acfe4e7/examples/frontpage/3D.py
#---------------------- Simulation Scenario ------------------------#
def scenario(silent=False):
    # Build the GWF model
    gwfsim, gwf = build_gwf_model(sim_name)
    
    # Debug print to check if the GWF model is built
    print("GWF model built:", gwfsim)
    
    if write:
        write_models(gwfsim, silent=silent)
        
        # Debug print to check if files are written
        print("GWF files written to:", gwf_ws)
    
    if run:
        # Run the MODFLOW model
        print("Running MODFLOW model...")
        run_models(gwfsim, silent=silent)
        print("FINISHED! Running GWF MODFLOW 6")
    
    if plot:
        print("Plotting Groundwater Flow Model")
        plot_gwf_all(gwfsim)
    
    # Attempt to build, run, and plot the particle models
    try:
        prtsim, prt, mpsim, mp7 = build_particle_models(sim_name, gwf)
        
        # Debug print to check if particle models are built
        print("Particle models built:", prtsim, mpsim)
        
        if write:
            write_models(prtsim, mp7, silent=silent)
            
            # Debug print to check if files are written
            print("Particle model files written to:", prt_ws, mp7_ws)
        
        if run:
            # Run the particle models
            print("Running particle models...")
            print("Running PRT MODFLOW 6")
            run_models(prtsim, silent=silent)
            print("FINISHED! Running PRT MODFLOW 6")

            print("Running MODPATH 7")
            run_models(mp7, silent=silent)
            print("FINISHED! Running MODPATH 7")
        if plot:
            print("Plotting Particle Models")
            #plot_all(gwfsim)
    
    except Exception as e:
        print(f"An error occurred while building, running, or plotting the particle models: {e}")

# Example usage:
scenario(silent=True)
Building GWF model for Hyporheic_Project
✅ Assigned 6000 unique CHD boundary cells.
GWF model built: sim_name = gwf_model
sim_path = C:\Users\u4eeevmq\Documents\Python\HyporheicFloPy\VQuintana\HP_workspace\gwf_workspace
exe_name = C:\Users\u4eeevmq\Documents\Python\Flo_Py\flopy\modflowExe\mf6.exe

###################
Package mfsim.nam
###################

package_name = mfsim.nam
filename = mfsim.nam
package_type = nam
model_or_simulation_package = simulation
simulation_name = gwf_model


###################
Package tdis
###################

package_name = tdis
filename = gwf_model.tdis
package_type = tdis
model_or_simulation_package = simulation
simulation_name = gwf_model


###################
Package ims_-1
###################

package_name = ims_-1
filename = gwf_model.ims
package_type = ims
model_or_simulation_package = simulation
simulation_name = gwf_model


@@@@@@@@@@@@@@@@@@@@
Model gwf_model
@@@@@@@@@@@@@@@@@@@@

name = gwf_model
model_type = gwf6
version = mf6
model_relative_path = .

###################
Package dis
###################

package_name = dis
filename = gwf_model.dis
package_type = dis
model_or_simulation_package = model
model_name = gwf_model


###################
Package ic
###################

package_name = ic
filename = gwf_model.ic
package_type = ic
model_or_simulation_package = model
model_name = gwf_model


###################
Package npf
###################

package_name = npf
filename = gwf_model.npf
package_type = npf
model_or_simulation_package = model
model_name = gwf_model


###################
Package chd
###################

package_name = chd
filename = gwf_model.chd
package_type = chd
model_or_simulation_package = model
model_name = gwf_model


###################
Package oc
###################

package_name = oc
filename = gwf_model.oc
package_type = oc
model_or_simulation_package = model
model_name = gwf_model
GWF files written to: HP_workspace\gwf_workspace
Running MODFLOW model...
Running simulation: gwf_model
Simulation gwf_model succeeded.
run_models took 2035.87 ms
FINISHED! Running GWF MODFLOW 6
Plotting Groundwater Flow Model
_images/615ddc81b2f6e046d151300bdbeddfc4df8cb17ed319d47203c801567c668770.png _images/90a1318423447fc50660a2fc50e6c2c35c0dcf23320f4c8250122bec5ec9c539.png _images/f8d098f701c2f44a6cd5353cf2fbc9a325c7ee7331aaeff5c62005a2066a5877.png _images/4023ec7f6bd9d789cd60fad0da9edabf5b0d613a2f1a4c55ae0f10596ff8202a.png
Building PRT model for Hyporheic_Project
Track times: [0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0, 8000.0, 9000.0, 10000.0, 11000.0, 12000.0, 13000.0, 14000.0, 15000.0, 16000.0, 17000.0, 18000.0, 19000.0, 20000.0, 21000.0, 22000.0, 23000.0, 24000.0, 25000.0, 26000.0, 27000.0, 28000.0, 29000.0, 30000.0, 31000.0, 32000.0, 33000.0, 34000.0, 35000.0, 36000.0, 37000.0, 38000.0, 39000.0, 40000.0, 41000.0, 42000.0, 43000.0, 44000.0, 45000.0, 46000.0, 47000.0, 48000.0, 49000.0, 50000.0, 51000.0, 52000.0, 53000.0, 54000.0, 55000.0, 56000.0, 57000.0, 58000.0, 59000.0, 60000.0, 61000.0, 62000.0, 63000.0, 64000.0, 65000.0, 66000.0, 67000.0, 68000.0, 69000.0, 70000.0, 71000.0]
Data type of track times: <class 'list'>
Number of track times: 72
Data type of Number of track times: <class 'int'>
Head file path: HP_workspace\gwf_workspace\gwf_model.hds
Budget file path: HP_workspace\gwf_workspace\gwf_model.cbb
Head file exists: True
Budget file exists: True
Building PRT model for Hyporheic_Project
An error occurred while building, running, or plotting the particle models: name 'izone' is not defined